diff --git a/scripts/install/openim-tools.sh b/scripts/install/openim-tools.sh index 003264221..04cd70adf 100755 --- a/scripts/install/openim-tools.sh +++ b/scripts/install/openim-tools.sh @@ -101,7 +101,7 @@ function openim::tools::start_service() { cmd="${cmd} --prometheus_port ${prometheus_port}" fi openim::log::status "Starting binary ${binary_name}..." - ${cmd} >>"${LOG_FILE}" 2> >(tee -a "${LOG_FILE}" >&2) + ${cmd} local status=$? if [ $status -eq 0 ]; then