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:
parent
bd0fd9502e
commit
f374a02a75
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
RES=0
|
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."
|
error="ERROR: Neutron Linux Bridge agent is not alive."
|
||||||
|
|
||||||
if [[ $check != ":-)" ]]; then
|
if [[ $check != ":-)" ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user