We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f1c9686 commit c8463a0Copy full SHA for c8463a0
scripts/check-all.sh
@@ -33,8 +33,8 @@ openim::log::info "\n# Begin to check all openim service"
33
# OpenIM status
34
# Elegant printing function
35
print_services_and_ports() {
36
- declare -g service_names=("${!1}")
37
- declare -g service_ports=("${!2}")
+ local -n service_names=$1
+ local -n service_ports=$2
38
39
echo "+-------------------------+----------+"
40
echo "| Service Name | Port |"
@@ -89,4 +89,4 @@ else
89
echo "++++ Check all openim service ports successfully !"
90
fi
91
92
-set -e
+set -e
0 commit comments