summaryrefslogtreecommitdiff
path: root/bin/ii-watch
diff options
context:
space:
mode:
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}" \