From e3c66532c5dd7f1bf9614f9639fd7805bb7b682d Mon Sep 17 00:00:00 2001 From: neil Date: Wed, 10 Aug 2016 23:13:14 +0800 Subject: [PATCH] Support Solaris --- acme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acme.sh b/acme.sh index 0d842860..e50c3131 100755 --- a/acme.sh +++ b/acme.sh @@ -423,7 +423,7 @@ _ss() { netstat -an -p tcp | grep LISTEN | grep ":$_port " elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null ; then #for solaris - netstat -an -P tcp | grep "\.$_port " + netstat -an -P tcp | grep "\.$_port " | grep "LISTEN" else netstat -ntpl | grep ":$_port " fi