Better checking of open ports to exclude false positives.
This commit is contained in:
parent
62af874b6e
commit
8a1bdfb07e
2
revision
2
revision
@ -1 +1 @@
|
||||
215
|
||||
216
|
||||
|
@ -9,5 +9,5 @@ set -e
|
||||
openstack_ports=`env| awk -F '=' '(/OPENSTACK_PORT/){print $2}'`
|
||||
for port in $openstack_ports
|
||||
do
|
||||
netstat -ln | grep -q $port
|
||||
netstat -ln | grep -q ":$port "
|
||||
done
|
||||
|
Loading…
x
Reference in New Issue
Block a user