diff --git a/scripts/start-all.sh b/scripts/start-all.sh index 78a86bc9..c86cb470 100755 --- a/scripts/start-all.sh +++ b/scripts/start-all.sh @@ -159,7 +159,7 @@ else exit 1 fi -cmd=cmd="${mysql2mongo_full_path} -c ${config_path}" +cmd="${mysql2mongo_full_path} -c ${config_path}" ${cmd} >> "${LOG_FILE}" 2> >(tee -a "${STDERR_LOG_FILE}" "$TMP_LOG_FILE" | while read line; do echo -e "\e[31m${line}\e[0m"; done >&2) for ((i = 0; i < ${#service_filename[*]}; i++)); do