mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-12-24 12:14:23 +08:00
Support Solaris
This commit is contained in:
2
acme.sh
2
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
|
||||
|
||||
Reference in New Issue
Block a user