mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-11-12 17:31:47 +00:00
formatting
This commit is contained in:
parent
f21dd9117d
commit
f19f21007c
2
acme.sh
2
acme.sh
@ -1131,7 +1131,7 @@ _ss() {
|
|||||||
elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null; then
|
elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null; then
|
||||||
#for solaris
|
#for solaris
|
||||||
netstat -an -P tcp | grep "\.$_port " | grep "LISTEN"
|
netstat -an -P tcp | grep "\.$_port " | grep "LISTEN"
|
||||||
elif netstat -help 2>&1 | grep "\-p" > /dev/null; then
|
elif netstat -help 2>&1 | grep "\-p" >/dev/null; then
|
||||||
#for full linux
|
#for full linux
|
||||||
netstat -ntpl | grep ":$_port "
|
netstat -ntpl | grep ":$_port "
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user