Skip to content

Commit afa13bf

Browse files
author
Marcello Seri
committed
CA-227605: fix inconsistent check in the CA-227605 patch
The check on signed contained a typo that made it pass some tests but failed on more careful ones. Signed-off-by: Marcello Seri <[email protected]>
1 parent 319f6a9 commit afa13bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scripts/setup-pvs-proxy-rules

+3-3
Original file line numberDiff line numberDiff line change
@@ -51,15 +51,15 @@ fi
5151
# The VIF UUID is maintained across the migration.
5252
# Furthermore, a proxied VIF can be in only one PVS site at once.
5353
pvs_prefix="/xapi/pvs-proxy"
54-
started=false
54+
started="false"
5555
for path in $($XSLIST -p "$pvs_prefix"); do
5656
PVS_PROXY_STATE=$($XSREAD "$path/$VIF/state")
5757
if [ $? -eq 0 ] && [ "$PVS_PROXY_STATE" = "started" ]; then
58-
started=true
58+
started="true"
5959
break
6060
fi
6161
done
62-
if [ ! started ]; then
62+
if [ "$started" = "false" ]; then
6363
handle_error "PVS proxy daemon not configured for this proxy - not installing OVS rules."
6464
fi
6565

0 commit comments

Comments
 (0)