mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-02 18:34:29 +08:00
Exit with code 1 when the check script fails
This commit is contained in:
parent
5c8e63258b
commit
fb6c078913
@ -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
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user