]> git.decadent.org.uk Git - dak.git/blobdiff - config/debian/monthly.functions
Those who take a lock shall give it back later
[dak.git] / config / debian / monthly.functions
index 738a3c8f857ad4d2bdf8459936271cf3ce29033a..ae0e46eb640534f7e62f7b8d9d00f4cbe6beb02c 100644 (file)
@@ -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}