more strict netstat port matching

This commit is contained in:
Chad Smith 2013-03-05 15:12:41 -07:00
parent d05626d26c
commit af30b40eec
1 changed files with 1 additions and 1 deletions

View File

@ -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