[yum-commits] yum-NetworkManager-dispatcher

James Antill james at osuosl.org
Mon Dec 29 06:19:17 UTC 2008


 yum-NetworkManager-dispatcher |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit 6293057059ad2f82ea8963ed5e4cf36e0690e344
Author: Warren Togami <wtogami at redhat.com>
Date:   Mon Dec 29 01:14:14 2008 -0500

    Fix the script exiting non-zero

diff --git a/yum-NetworkManager-dispatcher b/yum-NetworkManager-dispatcher
index a9f0d99..9a0e0b9 100755
--- a/yum-NetworkManager-dispatcher
+++ b/yum-NetworkManager-dispatcher
@@ -2,5 +2,6 @@
 
 #  Really we should check the IP and see if it's the same, and if so
 # don't bother. etc. ... whatever. This should keep people happyish.
-[ "$2" = "up" ] && yum clean expire-cache 2>&1 > /dev/null
+[ "$2" != "up" ] && exit 0
 
+yum clean expire-cache 2>&1 > /dev/null


More information about the Yum-commits mailing list