This commit is contained in:
skiffer-git 2024-03-08 14:06:27 +08:00 committed by GitHub
parent 42482e7eb4
commit 16799648dc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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