X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=bin%2Fdaily;h=f9e8853f77e64f1511c73c170464190a8268e464;hb=552e68978a99d2d4e05d80aea0cc5308b370d10e;hp=e4325939328f5cc1139a2ce7c995d553f03ff507;hpb=264b1245548e5c5494778a813e5e48897168b008;p=deb%2Fpackages.git diff --git a/bin/daily b/bin/daily index e432593..f9e8853 100755 --- a/bin/daily +++ b/bin/daily @@ -37,9 +37,9 @@ date > $log if lockfile -600 -r5 "${files}/cron.lock" >> $log 2>&1 then run-parts --verbose $topdir/cron.d >> $log 2>&1 + rm -f "${files}/cron.lock" else echo "couldn't aquire lock file in due time" >> $log fi -rm -f "${files}/cron.lock" date >> $log