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

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: 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/66/26166/1

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

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