summaryrefslogtreecommitdiff
path: root/debian/apt.cron.daily
diff options
context:
space:
mode:
Diffstat (limited to 'debian/apt.cron.daily')
-rw-r--r--debian/apt.cron.daily2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/apt.cron.daily b/debian/apt.cron.daily
index ffc7044d1..982a35d74 100644
--- a/debian/apt.cron.daily
+++ b/debian/apt.cron.daily
@@ -59,7 +59,7 @@ check_size_constraints()
# check age
if [ ! $MaxAge -eq 0 ]; then
- find $Cache -name "*.deb" -mtime +$MaxAge -exec rm -f {} \;
+ find $Cache -name "*.deb" -mtime +$MaxAge -print0 | xargs -r -0 rm -f
fi
# check size