From eb69358ebf5fa0dd8258f58035eb209edc5db4ca Mon Sep 17 00:00:00 2001 From: Anthony Towns Date: Thu, 3 Jan 2008 15:02:09 +0000 Subject: [PATCH] cron.unchecked: don't try doing anything if the daily lock is held --- config/debian/cron.unchecked | 2 ++ 1 file changed, 2 insertions(+) diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index a98ff086..0e595736 100644 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -9,6 +9,8 @@ LOCKDAILY="" LOCKFILE="$lockdir/unchecked.lock" NOTICE="$lockdir/daily.lock" +if [ -e $NOTICE ]; then exit 0; fi + cleanup() { rm -f "$LOCKFILE" if [ ! -z "$LOCKDAILY" ]; then -- 2.39.2