From d15a16ef2371dbe7f936f8f83b5334eb6c7883c9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=EF=BF=BD=EF=BF=BD?= Date: Fri, 17 Jul 2015 22:24:10 +0000 Subject: [PATCH] don't try to delete the logs directory without this, the logs/ directory was found as old and this cronjob would try to delete it over and over again, generating spurious emails --- src/delete_logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/delete_logs.sh b/src/delete_logs.sh index 38eb1a29..0cc88a8e 100644 --- a/src/delete_logs.sh +++ b/src/delete_logs.sh @@ -17,4 +17,4 @@ done stop_if_jobs_locked # ALTERNC_LOGS is from local.sh -find "$ALTERNC_LOGS" -mtime +$DAYS -delete +find "$ALTERNC_LOGS" -type f -mtime +$DAYS -delete