formatting

This commit is contained in:
jtbr 2017-03-20 18:51:45 +01:00
parent f21dd9117d
commit f19f21007c

View File

@ -1131,7 +1131,7 @@ _ss() {
elif netstat -help 2>&1 | grep -- '-P protocol' >/dev/null; then
#for solaris
netstat -an -P tcp | grep "\.$_port " | grep "LISTEN"
elif netstat -help 2>&1 | grep "\-p" > /dev/null; then
elif netstat -help 2>&1 | grep "\-p" >/dev/null; then
#for full linux
netstat -ntpl | grep ":$_port "
else