summaryrefslogtreecommitdiffstats
path: root/src/garbage.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/garbage.sh')
-rw-r--r--src/garbage.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/garbage.sh b/src/garbage.sh
index 118bce1..04d3980 100644
--- a/src/garbage.sh
+++ b/src/garbage.sh
@@ -66,7 +66,7 @@ collect_garbage()
try_rmdir "${base_dir}/${file}" || :
dirs=$((${dirs} - 1))
done
- done <"${garbage}"
+ done 0<"${garbage}"
rm -f -- "${garbage}"
done
@@ -85,7 +85,7 @@ mark_pool_garbage()
time=$((${time} + ${conf_pool_gc_delay}))
mkdir -p -- "${base_dir}/.db/garbage"
- printf '2 %s\n' "${file}" >>"${base_dir}/.db/garbage/${time}"
+ printf '2 %s\n' "${file}" 1>>"${base_dir}/.db/garbage/${time}"
return 0
}