From: Joerg Jaspert Date: Fri, 1 Jan 2016 09:27:29 +0000 (+0100) Subject: Those who take a lock shall give it back later X-Git-Url: https://git.decadent.org.uk/gitweb/?p=dak.git;a=commitdiff_plain;h=b2b264a9ae6c5d3ded689e9b76eb50fc15758f69 Those who take a lock shall give it back later --- diff --git a/config/debian/monthly.functions b/config/debian/monthly.functions index 738a3c8f..ae0e46eb 100644 --- a/config/debian/monthly.functions +++ b/config/debian/monthly.functions @@ -27,6 +27,7 @@ function archivequeuedone() { function rotatereports() { # Do not rotate while it might receive data if lockfile -r -1 ${LOCK_UNCHECKED} 2> /dev/null; then + TMPFILES="${TMPFILES} ${LOCK_UNCHECKED}" for dir in ${queuedir}/{.,p-u-new,o-p-u-new} /srv/backports-master.debian.org/queue/policy; do cd ${dir} mv REPORT REPORT.${OLDDATE}