[node-patches] Change in ovirt-node[master]: init: Drop BOOTIF form aug on upgrade

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: Drop BOOTIF form aug on upgrade
......................................................................

init: Drop BOOTIF form aug on upgrade

Change-Id: If3f8b6b53fc1d211152a8d6f2638b454776813f4
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, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/86/26186/1

diff --git a/scripts/ovirt-init-functions.sh.in b/scripts/ovirt-init-functions.sh.in
index 7c595d0..0fd225e 100644
--- a/scripts/ovirt-init-functions.sh.in
+++ b/scripts/ovirt-init-functions.sh.in
@@ -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/26186
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If3f8b6b53fc1d211152a8d6f2638b454776813f4
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