[debsums] 32/184: Make sure the return code of the cronjob is always zero

Axel Beckert abe at deuxchevaux.org
Mon Mar 2 21:21:16 UTC 2015


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository debsums.

commit a8d63d1d0f49bb44ee43699ee01b4c986c983fe9
Author: Francois Marier <francois at debian.org>
Date:   Mon Sep 22 19:01:18 2008 +1200

    Make sure the return code of the cronjob is always zero
---
 debian/debsums.cron.daily | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/debsums.cron.daily b/debian/debsums.cron.daily
index 2cbd46e..c0be010 100755
--- a/debian/debsums.cron.daily
+++ b/debian/debsums.cron.daily
@@ -15,3 +15,6 @@ if [ "z$ignorelist" = "z" ] ; then
 else
 	$debsumscmd 2>&1 | egrep -v "$ignorelist"
 fi
+
+# Exit with a normal status code even if errors (which could be ignored) were found
+exit 0

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/debsums.git



More information about the Pkg-perl-cvs-commits mailing list