[node-patches] Change in ovirt-node[master]: init: Syntax fixes

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Mar 27 19:53:43 UTC 2014


Fabian Deutsch has uploaded a new change for review.

Change subject: init: Syntax fixes
......................................................................

init: Syntax fixes

Change-Id: I7b9449c128d12219b2850a109e36409a0067c455
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1075920
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1072459
Signed-off-by: Fabian Deutsch <fabiand at redhat.com>
---
M scripts/ovirt-init-functions.sh.in
1 file changed, 2 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/85/26185/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index b696008..7c595d0 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -506,7 +506,7 @@
                     IFS="$oldIFS"
                 fi
             fi
-            if [ -z "$init" -a $iscsi_install == 1 ]; then
+            if [ -z "$init" -a "$iscsi_install" == 1 ]; then
                 log "Selected disk $i is not valid."
             fi
             ;;
@@ -894,7 +894,7 @@
         fi
     done
     # block accidental bootif changes on upgrades
-    if [ "$upgrade" != "1"]; then
+    if [ "$upgrade" != "1" ]; then
         sed -i '/OVIRT_BOOTIF/d' $tmpaug
     fi
     augtool $tmpaug


-- 
To view, visit http://gerrit.ovirt.org/26185
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7b9449c128d12219b2850a109e36409a0067c455
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Fabian Deutsch <fabiand at fedoraproject.org>



More information about the node-patches mailing list