aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gc b/bin/gc
index 1ef92f1..9a1868b 100755
--- a/bin/gc
+++ b/bin/gc
@@ -79,7 +79,7 @@ gc_trash() {
}
gc_tmpdir() {
- find /tmp/ -type f -atime +10 -exec rm -vf "{}" \; ||:
+ find "${TMPDIR:-/tmp}" -type f -atime +10 -exec rm -vf "{}" \; ||:
}
gc_docker() {