fix: fix the script

This commit is contained in:
luhaoling 2024-02-20 19:32:50 +08:00
parent 7fff4aeabe
commit 8a45baf55d

View File

@ -30,14 +30,7 @@ OPENIM_VERBOSE=4
openim::log::info "\n# Begin to check all openim service"
. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal
openim::log::info "\n# to check all openim service、nnnnnnnnnnnnnn"
handle_error() {
echo "An error occurred. Printing ${STDERR_LOG_FILE} contents:"
exit 1
}
trap handle_error ERR
echo "Check ports:"
openim::util::check_ports_by_signal ${OPENIM_SERVER_PORT_LISTARIES[@]}