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:
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
))