mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-11-05 11:52:10 +08:00
Optimizing scripts
This commit is contained in:
parent
86c9a51faf
commit
4d53925a50
@ -2867,9 +2867,9 @@ function openim::util::find_process_ports() {
|
||||
protocol_ports=${protocol_ports%, }
|
||||
|
||||
if [[ -z "$protocol_ports" ]]; then
|
||||
echo "Process $process_path is not listening on any ports"
|
||||
openim::log::colorless "$process_path is not listening on any ports"
|
||||
else
|
||||
echo "Process $process_path is listening on protocol & port: $protocol_ports"
|
||||
openim::log::colorless "$process_path is listening on protocol & port: $protocol_ports"
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user