Exit with code 1 when the check script fails

pull/2026/head
skiffer-git 2 years ago
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…
Cancel
Save