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
04c73efea7
commit
c5a681ecbd
@ -2858,7 +2858,7 @@ function openim::util::find_process_ports() {
|
|||||||
local port_protocol=($line)
|
local port_protocol=($line)
|
||||||
local port=${port_protocol[0]##*:}
|
local port=${port_protocol[0]##*:}
|
||||||
local protocol=${port_protocol[1]}
|
local protocol=${port_protocol[1]}
|
||||||
protocol_ports= protocol_ports + $protocol + " "+$ports
|
protocol_ports=$protocol_ports+$protocol+" "+$ports
|
||||||
echo "Process $process_path is listening on port $port with protocol $protocol"
|
echo "Process $process_path is listening on port $port with protocol $protocol"
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user