Skip to content

Commit

Permalink
fix: logs
Browse files Browse the repository at this point in the history
  • Loading branch information
luhaoling committed Feb 20, 2024
1 parent 8b28fd6 commit 9cea45b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/check-all-by-signal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ source "${OPENIM_ROOT}/scripts/install/common.sh"
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 || ture

handle_error() {
echo "An error occurred. Printing ${STDERR_LOG_FILE} contents:"
Expand All @@ -37,7 +38,6 @@ handle_error() {

trap handle_error ERR

. $(dirname ${BASH_SOURCE})/install/openim-msgtransfer.sh openim::msgtransfer::check_by_signal
echo "Check ports:"
openim::util::check_ports_by_signal ${OPENIM_SERVER_PORT_LISTARIES[@]}
if [[ $? -ne 0 ]]; then
Expand Down

0 comments on commit 9cea45b

Please sign in to comment.