From 5c28a0b8b9aa007e6f2a967eb4027ca105a425cb Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Fri, 8 Mar 2024 12:02:21 +0800 Subject: [PATCH] minio.Enable is not configured to use MinIO, therefore the image server is not checked --- scripts/install/openim-tools.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install/openim-tools.sh b/scripts/install/openim-tools.sh index b3dcf2747..003264221 100755 --- a/scripts/install/openim-tools.sh +++ b/scripts/install/openim-tools.sh @@ -101,8 +101,8 @@ function openim::tools::start_service() { cmd="${cmd} --prometheus_port ${prometheus_port}" fi openim::log::status "Starting binary ${binary_name}..." - ${cmd} >> "${LOG_FILE}" 2>&1 - local status=$? + ${cmd} >>"${LOG_FILE}" 2> >(tee -a "${LOG_FILE}" >&2) + local status=$? if [ $status -eq 0 ]; then openim::log::info "Service ${binary_name} started successfully."