Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/ii-watch
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 16:22:29 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2023-05-22 16:22:29 +0200
commit62f871fb25b70860364b0023745c0f31516e69d0 (patch)
tree8efdaff49293547ee945ff0d10612187a3b06594 /bin/ii-watch
parentd14686b0bdc0b2418300c5d34d5f13c19988f020 (diff)
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 ae008c4..6ae30c0 100755
--- a/bin/ii-watch
+++ b/bin/ii-watch
@@ -18,7 +18,7 @@ while pgrep -x 'ii' >/dev/null && \
# this avoids missing modifications during our last execution
if [ "$(date +%s)" -ge ${next_connection_check} ]; then
# request this more often on startup
- if [ ${last_seen} -ne 0 ]; then
+ if [ "${last_seen}" -ne 0 ]; then
next_connection_check=$((
$(date +%s) + 60*5
))