From e7a8600806edee95c30330df56f0b5734f81213e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ra=C3=BAl=20Benencia?= Date: Sun, 23 Jun 2024 10:27:10 -0700 Subject: [PATCH] test_e2e.sh: remove unnecessary $ on arithmetic variables Fixes SC2004. Part of #891. --- test_e2e.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test_e2e.sh b/test_e2e.sh index a3d123c..ec110d2 100755 --- a/test_e2e.sh +++ b/test_e2e.sh @@ -50,12 +50,12 @@ function wait_for_file_exists() { local file=$1 local ticks=$(($2*10)) # 100ms per tick - while (( $ticks > 0 )); do + while (( ticks > 0 )); do if [[ -f "$file" ]]; then break fi sleep 0.1 - ticks=$(($ticks-1)) + ticks=$((ticks-1)) done }