mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-03 02:42:19 +08:00
Exit with code 1 when the check script fails
This commit is contained in:
parent
b9088f0b47
commit
0a76393765
@ -102,7 +102,7 @@ function openim::tools::start_service() {
|
|||||||
fi
|
fi
|
||||||
openim::log::status "Starting binary ${binary_name}..."
|
openim::log::status "Starting binary ${binary_name}..."
|
||||||
${cmd} | tee -a "${LOG_FILE}"
|
${cmd} | tee -a "${LOG_FILE}"
|
||||||
ehco "11111111111111file: " ${LOG_FILE} $TMP_LOG_FILE
|
echo "11111111111111file: " ${LOG_FILE} $TMP_LOG_FILE
|
||||||
${cmd} >> "${LOG_FILE}" 2>&1
|
${cmd} >> "${LOG_FILE}" 2>&1
|
||||||
local status=$?
|
local status=$?
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user