Script Refactoring

pull/2148/head
skiffer-git 2 years ago
parent aa151878f9
commit 1a6e850671

@ -2477,9 +2477,9 @@ function openim::util::print_binary_ports() {
ports=$(echo "$ports" | xargs | tr ' ' '\n' | uniq | tr '\n' ' ') ports=$(echo "$ports" | xargs | tr ' ' '\n' | uniq | tr '\n' ' ')
if [ -z "$ports" ]; then if [ -z "$ports" ]; then
echo "$binary_path is not listening on any ports." echo "$binary_path is not listening on any ports." ["$ports"]
else else
echo "$binary_path is listening on the following ports: $ports" echo "$binary_path is listening on the following ports: $ports" ["$ports"]
fi fi
else else
echo "$binary_path is not running." echo "$binary_path is not running."

Loading…
Cancel
Save