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 f7e96f7..58dab41 100644
--- a/src/garbage.sh
+++ b/src/garbage.sh
@@ -32,7 +32,7 @@ collect_garbage()
# NB: The %s format conversion specifier is not specified by POSIX, but
# it is supported by the GNU and BusyBox implementations of date.
- cur_time=$(date '+%s')
+ cur_time=$("${DATE}" '+%s')
for garbage in "${base_dir}/.db/garbage/"*; do
if [ ! -f "${garbage}" ]; then