mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2026-01-10 17:12:07 +08:00
minor
This commit is contained in:
2
le.sh
2
le.sh
@@ -194,7 +194,7 @@ _ss() {
|
|||||||
#for windows version netstat tool
|
#for windows version netstat tool
|
||||||
netstat -anb -p tcp | grep "LISTENING" | grep :$_port" "
|
netstat -anb -p tcp | grep "LISTENING" | grep :$_port" "
|
||||||
else
|
else
|
||||||
if netstat -help 2>&1 | grep "-p protocol" >/dev/null ; then
|
if netstat -help 2>&1 | grep "\-p protocol" >/dev/null ; then
|
||||||
netstat -an -p tcp | grep LISTEN | grep :$_port" "
|
netstat -an -p tcp | grep LISTEN | grep :$_port" "
|
||||||
else
|
else
|
||||||
netstat -ntpl | grep :$_port" "
|
netstat -ntpl | grep :$_port" "
|
||||||
|
|||||||
Reference in New Issue
Block a user