From: Stephen Gran Date: Sat, 22 May 2010 22:07:26 +0000 (+0000) Subject: dsa-update-apt-status: it's not an error to exit when we don't need to run X-Git-Url: https://wiki.adam-barratt.org.uk/gitweb/?a=commitdiff_plain;h=fa2d3540d5f9ad13d9bcc4b1bb5ba6075f3468b5;p=mirror%2Fdsa-nagios.git dsa-update-apt-status: it's not an error to exit when we don't need to run Signed-off-by: Stephen Gran --- diff --git a/dsa-nagios-checks/sbin/dsa-update-apt-status b/dsa-nagios-checks/sbin/dsa-update-apt-status index f8eab97..a89dbcf 100755 --- a/dsa-nagios-checks/sbin/dsa-update-apt-status +++ b/dsa-nagios-checks/sbin/dsa-update-apt-status @@ -31,7 +31,7 @@ run_required() { # do stuff only when required, or when asked to if [ "${1:-""}" != "-f" ] ; then - run_required || exit + run_required || exit 0 fi # sleep if called non-interactively