diff options
author | Matt Zimmerman <matt.zimmerman@canonical.com> | 2005-03-14 21:09:25 +0000 |
---|---|---|
committer | Matt Zimmerman <matt.zimmerman@canonical.com> | 2005-03-14 21:09:25 +0000 |
commit | 60ea46b25524b7b48f6518306a535d86f1e7676c (patch) | |
tree | 2a69e488c5d21eab4ffd5dd6094fc3ce434f91b9 | |
parent | 2e8a92e5cade0517b65e8ed2f79c24f7acde6096 (diff) |
Use find|xargs rather than find -exec in cron.daily
-rw-r--r-- | debian/apt.cron.daily | 2 |
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 |