summaryrefslogtreecommitdiffstats
path: root/src/garbage.sh
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2017-08-03 14:09:50 (EDT)
committer P. J. McDermott <pj@pehjota.net>2017-08-03 14:09:50 (EDT)
commit7129705ddcd36d3deecb0a787afa47e291346a89 (patch)
treed10f71462e50fa5ef608f54e30f74e72dc29170c /src/garbage.sh
parent29b44958186c4c761ada4db23caa1c3c4fa1f9bd (diff)
src/garbage.sh: Add return statements
Diffstat (limited to 'src/garbage.sh')
-rw-r--r--src/garbage.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/garbage.sh b/src/garbage.sh
index 56959de..f7e96f7 100644
--- a/src/garbage.sh
+++ b/src/garbage.sh
@@ -53,6 +53,8 @@ collect_garbage()
done <"${garbage}"
rm -f "${garbage}"
done
+
+ return 0
}
mark_pool_garbage()
@@ -69,4 +71,6 @@ mark_pool_garbage()
mkdir -p "${base_dir}/.db/garbage"
printf '2 %s\n' "${file}" >>"${base_dir}/.db/garbage/${time}"
+
+ return 0
}