summaryrefslogtreecommitdiffstats
path: root/src/garbage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/garbage.sh')
-rw-r--r--src/garbage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/garbage.sh b/src/garbage.sh
index 2975b7a..575cc5d 100644
--- a/src/garbage.sh
+++ b/src/garbage.sh
@@ -63,7 +63,7 @@ collect_garbage()
rm -f "${base_dir}/${file}"
while [ ${dirs} -gt 0 ]; do
file="${file%/*}"
- try_rmdir "${base_dir}/${file}"
+ try_rmdir "${base_dir}/${file}" || :
dirs=$((${dirs} - 1))
done
done <"${garbage}"