Exit with code 1 when the check script fails

This commit is contained in:
skiffer-git 2024-03-08 10:33:44 +08:00
parent 5c8e63258b
commit fb6c078913

View File

@ -92,7 +92,7 @@ if ! ${TOOLS_START_SCRIPTS_PATH} openim::tools::pre-start; then
exit 1 exit 1
fi fi
openim::log::print_blue "Pre Starting OpenIM services processed successfully"
result=$("${OPENIM_ROOT}"/scripts/stop-all.sh) result=$("${OPENIM_ROOT}"/scripts/stop-all.sh)
if [[ $? -ne 0 ]]; then if [[ $? -ne 0 ]]; then