mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-06 04:15:46 +08:00
Exit with code 1 when the check script fails (#2022)
* Optimize script logs * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Optimizing Docker Log Output Detection * Exit with code 1 when the check script fails
This commit is contained in:
parent
a84162815a
commit
a1f0eb2e3e
@ -104,6 +104,7 @@ if [[ $? -ne 0 ]]; then
|
|||||||
echo "+++ cat openim log file >>> ${LOG_FILE}"
|
echo "+++ cat openim log file >>> ${LOG_FILE}"
|
||||||
openim::log::error "check process failed.\n "
|
openim::log::error "check process failed.\n "
|
||||||
echo "$result"
|
echo "$result"
|
||||||
|
exit 1
|
||||||
else
|
else
|
||||||
openim::log::success "All openim services are running normally! "
|
openim::log::success "All openim services are running normally! "
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user