Commit bb0d805b authored by daidekun's avatar daidekun

fix bugs

parent de0a9c20
......@@ -18,7 +18,7 @@ cd $db_sub_backup_folder
file_count=`ls -l |grep "^-"|wc -l`
echo "./* file count is $file_count"
if [ "$file_count" gt 0 ]; then
if [ "$file_count" -gt 0 ]; then
for entry in ./*
do
echo "is replace ip for db_back_file $entry"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment