From fa2d3540d5f9ad13d9bcc4b1bb5ba6075f3468b5 Mon Sep 17 00:00:00 2001 From: Stephen Gran Date: Sat, 22 May 2010 22:07:26 +0000 Subject: [PATCH] dsa-update-apt-status: it's not an error to exit when we don't need to run Signed-off-by: Stephen Gran --- dsa-nagios-checks/sbin/dsa-update-apt-status | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1