linuxbridge check.sh not right

linuxbridge check.sh script got wrong
value of status.

Change-Id: I975562a62c9ebf7afc22289dc96e672ed877537c
Closes-Bug: #1452626
This commit is contained in:
Fang Fenghua 2015-05-08 00:25:27 +08:00
parent bd0fd9502e
commit f374a02a75

View File

@ -2,7 +2,7 @@
RES=0
check=$(/usr/bin/neutron agent-list | awk '/ Linux / {print $9}')
check=$(/usr/bin/neutron agent-list | awk '/ Linux / {print $10}')
error="ERROR: Neutron Linux Bridge agent is not alive."
if [[ $check != ":-)" ]]; then