From: Joerg Jaspert Date: Wed, 6 May 2015 15:31:42 +0000 (+0200) Subject: Shutup unchecked X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d67a55ffc497cc5c852618154bc064cb79914c4c;p=dak.git Shutup unchecked --- diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index 74eb58b2..916d4e5d 100755 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -74,8 +74,8 @@ export LANG=C export LC_ALL=C # only run one cron.unchecked -if ! lockfile -r8 $LOCKFILE; then - echo "aborting cron.unchecked because $LOCKFILE has already been locked" +if ! lockfile -r8 $LOCKFILE 2> /dev/null; then + # echo "aborting cron.unchecked because $LOCKFILE has already been locked" exit 0 fi trap cleanup 0