Don't end with "Update needed" after updating

This commit is contained in:
Silvan Calarco 2014-01-17 23:55:47 +01:00
parent e337901bc6
commit a70a682291

View File

@ -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