aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xetc/periodic/daily/110.clean-tmps2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/periodic/daily/110.clean-tmps b/etc/periodic/daily/110.clean-tmps
index b6a4795a77b0..cd2dab0bc64c 100755
--- a/etc/periodic/daily/110.clean-tmps
+++ b/etc/periodic/daily/110.clean-tmps
@@ -41,7 +41,7 @@ case "$daily_clean_tmps_enable" in
do
[ ."${dir#/}" != ."$dir" -a -d $dir ] && cd $dir && {
find -d . -type f $args -delete $print
- find -d . ! -name . -type d -mtime \
+ find -d . ! -name . -type d -empty -mtime \
+$daily_clean_tmps_days -delete $print
} | sed "s,^\\., $dir,"
done | tee /dev/stderr | wc -l)