From ed00ae143283ad11af60994ba336eb1336d48709 Mon Sep 17 00:00:00 2001 From: Simon Vieille Date: Sat, 31 Dec 2022 13:36:29 +0100 Subject: [PATCH] fix shellcheck errors --- timeout | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/timeout b/timeout index ee61f49..56cb989 100755 --- a/timeout +++ b/timeout @@ -31,7 +31,7 @@ check_pid() { PID=$1 LOOP=$2 - for i in $(seq 1 "$LOOP"); do + for _ in $(seq 1 "$LOOP"); do test -d "/proc/$PID/" && sleep 1 || STATUS=0 done