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

fabiand at fedoraproject.org fabiand at fedoraproject.org
Thu Mar 27 15:08:49 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/65/26165/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 7f06fc9..e403492 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
             ;;
@@ -881,7 +881,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/26165
To unsubscribe, visit http://gerrit.ovirt.org/settings

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



More information about the node-patches mailing list