mirror of
https://github.com/plantroon/acme.sh.git
synced 2024-12-22 21:21:42 +00:00
minor fix
This commit is contained in:
parent
ccb965359c
commit
50a4ef9cca
2
le.sh
2
le.sh
@ -185,7 +185,7 @@ _ss() {
|
|||||||
_debug "Using: netstat"
|
_debug "Using: netstat"
|
||||||
if netstat -h 2>&1 | grep "\-p proto" >/dev/null ; then
|
if netstat -h 2>&1 | grep "\-p proto" >/dev/null ; then
|
||||||
#for windows version netstat tool
|
#for windows version netstat tool
|
||||||
netstat -nb -p tcp | grep :$_port" "
|
netstat -anb -p tcp | grep "LISTENING" | grep :$_port" "
|
||||||
else
|
else
|
||||||
netstat -ntpl | grep :$_port" "
|
netstat -ntpl | grep :$_port" "
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user