aboutsummaryrefslogtreecommitdiff
path: root/bin/gc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/gc')
-rwxr-xr-xbin/gc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gc b/bin/gc
index 4634f8c..50ee1b5 100755
--- a/bin/gc
+++ b/bin/gc
@@ -118,7 +118,7 @@ gc_trash() {
}
gc_tmpdir() {
- find "${TMPDIR:-/tmp}" -atime +10 -exec rm -vrf {} \; ||:
+ find "${TMPDIR:-/tmp}" '(' -type f -or -type d ')' -atime +10 -exec rm -vrf {} \; ||:
}
gc_coredump() {