minor fix

This commit is contained in:
neil 2016-03-23 20:39:20 +08:00
parent ccb965359c
commit 50a4ef9cca

2
le.sh
View File

@ -185,7 +185,7 @@ _ss() {
_debug "Using: netstat"
if netstat -h 2>&1 | grep "\-p proto" >/dev/null ; then
#for windows version netstat tool
netstat -nb -p tcp | grep :$_port" "
netstat -anb -p tcp | grep "LISTENING" | grep :$_port" "
else
netstat -ntpl | grep :$_port" "
fi