---
 scripts/ovirt-functions |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/ovirt-functions b/scripts/ovirt-functions
index d8aa008..e79fcd8 100644
--- a/scripts/ovirt-functions
+++ b/scripts/ovirt-functions
@@ -716,7 +716,7 @@ lvremove() {
 #   cleanup before reboot
 reboot() {
     cd /
-    if [ "$OVIRT_ISCSI_ENABLED" = "yes" ]; then
+    if [ "$OVIRT_ISCSI_ENABLED" != "y" ]; then
         # setup new Root if update is prepared
         if findfs LABEL=RootUpdate 2>&1 >/dev/null; then
             root_update_dev=$(findfs LABEL=RootUpdate 2>/dev/null)
-- 
1.6.6.1

_______________________________________________
Ovirt-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/ovirt-devel

Reply via email to