From 50a4ef9cca02354f9f90d174be9123358d338207 Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 23 Mar 2016 20:39:20 +0800 Subject: [PATCH] minor fix --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 6feac9be..9c5936c4 100755 --- a/le.sh +++ b/le.sh @@ -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