summaryrefslogtreecommitdiff
path: root/bin/ii-watch
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2021-03-23 11:26:20 +0100
committerErich Eckner <git@eckner.net>2021-03-23 11:26:20 +0100
commite7c1e50550978d408706488d36e75ced43d173b6 (patch)
treeaf582bf67f9252f8e42e624e2ca9ab5bf0ead71a /bin/ii-watch
parent5d2bfa8221183c41fd40ddfda02b0d49eb40efa0 (diff)
downloadbuilder-e7c1e50550978d408706488d36e75ced43d173b6.tar.xz
bin/ii-watch: make shellcheck happy
Diffstat (limited to 'bin/ii-watch')
-rwxr-xr-xbin/ii-watch2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ii-watch b/bin/ii-watch
index 03088ff..8ebefbe 100755
--- a/bin/ii-watch
+++ b/bin/ii-watch
@@ -38,7 +38,7 @@ while pgrep -x 'ii' >/dev/null && \
said=$(
"${base_dir}/bin/ii-answer"
)
- if [ ${next_intentions_check} -lt $(date +%s) ]; then
+ if [ ${next_intentions_check} -lt "$(date +%s)" ]; then
# Are there old intentions waiting for execution?
oldest_intention=$(
find "${intentions_directory}" \