Commit 8785aa99 authored by daidekun's avatar daidekun

hack bugs

parent ca3e9e31
...@@ -66,7 +66,4 @@ if [ "$file_count" -gt 0 ]; then ...@@ -66,7 +66,4 @@ if [ "$file_count" -gt 0 ]; then
sed -i "s/\:70/:${ip_last}/g" $entry sed -i "s/\:70/:${ip_last}/g" $entry
done done
fi fi
cd ..
rm -rf $db_sub_backup_folder
fi fi
\ No newline at end of file
...@@ -65,6 +65,8 @@ function db_schema_sync() ...@@ -65,6 +65,8 @@ function db_schema_sync()
sync_cmd="mss -conf ${config_file_name} -sync" sync_cmd="mss -conf ${config_file_name} -sync"
echo "${sync_cmd}" echo "${sync_cmd}"
$sync_cmd $sync_cmd
rm -rf $db_sub_backup_folder
} }
function run_sql_file() function run_sql_file()
......
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