From 62f871fb25b70860364b0023745c0f31516e69d0 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Mon, 22 May 2023 16:22:29 +0200 Subject: make shellcheck happy --- bin/ii-watch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/ii-watch') 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 )) -- cgit v1.2.3-70-g09d2