From 14165e5a9b589787d2c431e5a52ced1b420008e8 Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 23 Mar 2016 22:41:24 +0800 Subject: [PATCH] minor --- le.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/le.sh b/le.sh index 46f52ff..06d8d2c 100755 --- a/le.sh +++ b/le.sh @@ -194,7 +194,7 @@ _ss() { #for windows version netstat tool netstat -anb -p tcp | grep "LISTENING" | grep :$_port" " 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" " else netstat -ntpl | grep :$_port" "