X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.hourly;h=0699846607b974c6a45d0f95103e374c5a04c276;hb=4b0e82d35e866d703400124fe1a8d5db308ed162;hp=aef24c09515a023aa49b7fad2521cd080b6de4f5;hpb=03752f74fb17550b34678380321e2f37e64acb65;p=dak.git diff --git a/config/debian/cron.hourly b/config/debian/cron.hourly index aef24c09..06998466 100755 --- a/config/debian/cron.hourly +++ b/config/debian/cron.hourly @@ -1,4 +1,4 @@ -#! /bin/sh +#! /bin/bash # # Executed hourly via cron, out of dak's crontab. @@ -17,7 +17,7 @@ dak graph -n new,byhand,proposedupdates,oldproposedupdates,deferred -r $webdir/s # do not run show-new and other stuff in parallel LOCKFILE="$lockdir/unchecked.lock" if lockfile -r16 $LOCKFILE 2> /dev/null; then - dak show-new > /dev/null + dak show-new > /dev/null || true rm -f $LOCKFILE fi