From 5a51b4f522d2bccaedd70caeda908ecc6ea21dd7 Mon Sep 17 00:00:00 2001 From: Marco Nelissen Date: Mon, 22 Jul 2024 12:09:54 -0700 Subject: [PATCH] Fix disk cleanup issue --- run/archiveloop | 2 ++ 1 file changed, 2 insertions(+) diff --git a/run/archiveloop b/run/archiveloop index 267390c9..c798893b 100755 --- a/run/archiveloop +++ b/run/archiveloop @@ -368,6 +368,8 @@ function clean_cam_mount { if [ -s /tmp/rmcandidates.txt ] then (cd "${CAM_MOUNT}"; xargs -a /tmp/rmcandidates.txt -0 ls -cr1) > /tmp/rmcandidatesbytime.txt + else + true > /tmp/rmcandidatesbytime.txt fi local freespace