[node-patches] Change in ovirt-node[master]: Don't silently fail ovirt-node-selinux %post

rbarry at redhat.com rbarry at redhat.com
Tue May 6 19:45:23 UTC 2014


Ryan Barry has uploaded a new change for review.

Change subject: Don't silently fail ovirt-node-selinux %post
......................................................................

Don't silently fail ovirt-node-selinux %post

As commit message

Change-Id: Icab895d03945c896e53c60955ae62d36c148c429
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M ovirt-node.spec.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/32/27432/1

diff --git a/ovirt-node.spec.in b/ovirt-node.spec.in
index 5fbc40b..404d39e 100644
--- a/ovirt-node.spec.in
+++ b/ovirt-node.spec.in
@@ -284,7 +284,7 @@
 for selinuxvariant in %{selinux_variants}
 do
   /usr/sbin/semodule -s ${selinuxvariant} -i \
-    %{_datadir}/selinux/${selinuxvariant}/%{selinux_modulename}.pp &> /dev/null || :
+    %{_datadir}/selinux/${selinuxvariant}/%{selinux_modulename}.pp &> /dev/null || exit 1
 done
 # Is this to greedy?
 /sbin/restorecon -R / || :


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Icab895d03945c896e53c60955ae62d36c148c429
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list