From 76fabc6a15c761acb44614b7727ddb178a193c15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniele=20Trifir=C3=B2?= Date: Wed, 20 Nov 2024 11:50:44 +0100 Subject: [PATCH] extras: silence/fix shellcheck complaints --- extras/smoke-test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/extras/smoke-test.sh b/extras/smoke-test.sh index 15bcd6b1984fa..4d982e196e4ec 100644 --- a/extras/smoke-test.sh +++ b/extras/smoke-test.sh @@ -13,6 +13,7 @@ function wait_for(){ name=$1 shift + # shellcheck disable=SC2124 command=$@ max_retries=10 @@ -22,7 +23,7 @@ function wait_for(){ max_retries=$((max_retries-1)) if [[ max_retries -le 0 ]]; then echo "Timed out waiting for $name server" >&2 - kill -9 ${server_pid} + kill -9 "${server_pid}" exit 1 fi done