From 0a76393765c4ed2861a6d0ecdea14b9ea09ba2b7 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Fri, 8 Mar 2024 10:18:18 +0800 Subject: [PATCH] Exit with code 1 when the check script fails --- scripts/install/openim-tools.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/openim-tools.sh b/scripts/install/openim-tools.sh index 71368631e..db669d0a8 100755 --- a/scripts/install/openim-tools.sh +++ b/scripts/install/openim-tools.sh @@ -102,7 +102,7 @@ function openim::tools::start_service() { fi openim::log::status "Starting binary ${binary_name}..." ${cmd} | tee -a "${LOG_FILE}" - ehco "11111111111111file: " ${LOG_FILE} $TMP_LOG_FILE + echo "11111111111111file: " ${LOG_FILE} $TMP_LOG_FILE ${cmd} >> "${LOG_FILE}" 2>&1 local status=$?