diff options
Diffstat (limited to 'amavis/cron.daily/local-amavis')
-rwxr-xr-x | amavis/cron.daily/local-amavis | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/amavis/cron.daily/local-amavis b/amavis/cron.daily/local-amavis index eebfdce..3e51204 100755 --- a/amavis/cron.daily/local-amavis +++ b/amavis/cron.daily/local-amavis @@ -4,7 +4,7 @@ set -e -find /var/lib/amavis/virusmails/ -type f -name 'badh*' -exec rm -f '{}' ';' -find /var/lib/amavis/virusmails/ -type f -mtime +14 -exec rm -f '{}' ';' +find /var/lib/amavis/virusmails/ -type f -name 'badh*' -delete +find /var/lib/amavis/virusmails/ -type f -mtime +14 -delete exit 0 |