mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Script Refactoring
This commit is contained in:
parent
38c1fe40fe
commit
1d245a1d26
@ -2477,9 +2477,9 @@ function openim::util::print_binary_ports() {
|
||||
ports=$(echo "$ports" | xargs | tr ' ' '\n' | uniq | tr '\n' ' ')
|
||||
|
||||
if [[ ${#ports} -eq 1 ]]; then
|
||||
echo "$binary_path is not listening on any ports." ["$ports"]
|
||||
echo "$binary_path is not listening on any ports."
|
||||
else
|
||||
echo "$binary_path is listening on the following ports: $ports" ["$ports"]
|
||||
echo "$binary_path is listening on the following ports: $ports"
|
||||
fi
|
||||
else
|
||||
echo "$binary_path is not running."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user