1
0
mirror of https://github.com/hiskaNG/acme.sh.git synced 2026-08-16 19:03:03 +00:00

Support Solaris

This commit is contained in:
neil
2016-08-10 23:13:14 +08:00
parent 22ea4004e1
commit e3c66532c5
+1 -1
View File
@@ -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