aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2024-04-22 08:31:25 -0300
committerEuAndreh <eu@euandre.org>2024-04-22 08:31:25 -0300
commitd3408a00c895d0ed63cf14cf59ff6cca7fc7c387 (patch)
tree2ddbaa172e51c14034b190e4e279ff3f40c5fd2c
parentetc/sh/rc: Make $GOPATH a PREFIX (diff)
downloaddotfiles-d3408a00c895d0ed63cf14cf59ff6cca7fc7c387.tar.gz
dotfiles-d3408a00c895d0ed63cf14cf59ff6cca7fc7c387.tar.xz
bin/gc: Allow "gc_tmpdir()" to fail
-rwxr-xr-xbin/gc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/gc b/bin/gc
index 04e0ba5..8622a7d 100755
--- a/bin/gc
+++ b/bin/gc
@@ -98,7 +98,7 @@ gc_trash() {
}
gc_tmpdir() {
- find "${TMPDIR:-/tmp}" -atime +10 -exec rm -vrf {} \;
+ find "${TMPDIR:-/tmp}" -atime +10 -exec rm -vrf {} \; ||:
}
gc_coredump() {