From 60ea46b25524b7b48f6518306a535d86f1e7676c Mon Sep 17 00:00:00 2001 From: Matt Zimmerman Date: Mon, 14 Mar 2005 21:09:25 +0000 Subject: Use find|xargs rather than find -exec in cron.daily --- debian/apt.cron.daily | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3