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