fix: fix the script

This commit is contained in:
luhaoling 2023-12-25 17:03:27 +08:00
parent 22da04b6d8
commit 80b6c2e280

View File

@ -33,8 +33,8 @@ openim::log::info "\n# Begin to check all openim service"
# OpenIM status
# Elegant printing function
print_services_and_ports() {
local -n service_names=$1
local -n service_ports=$2
service_names=("$1[@]")
service_ports=("$2[@]")
echo "+-------------------------+----------+"
echo "| Service Name | Port |"
@ -89,4 +89,4 @@ else
echo "++++ Check all openim service ports successfully !"
fi
set -e
set -e