From a70a682291df7b424ef6e70218122acb7c085d6f Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 17 Jan 2014 23:55:47 +0100 Subject: [PATCH] Don't end with "Update needed" after updating --- openmamba-update/openmamba-netsrpms | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/openmamba-update/openmamba-netsrpms b/openmamba-update/openmamba-netsrpms index 2af99f6..ba78270 100755 --- a/openmamba-update/openmamba-netsrpms +++ b/openmamba-update/openmamba-netsrpms @@ -151,8 +151,7 @@ for pckname in $PACKAGES; do fi done -[ "$UPDATE_NEEDED" ] && { +if [ "$CHECK_MODE" -a "$UPDATE_NEEDED" ]; then echo "Update needed." - exit 1 -} +fi exit 0