Commit 50a4ef9c authored by neil's avatar neil
Browse files

minor fix

parent ccb96535
...@@ -185,7 +185,7 @@ _ss() { ...@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment