Skip to content

Commit

Permalink
extras: silence/fix shellcheck complaints
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed Nov 20, 2024
1 parent c41adbd commit 76fabc6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extras/smoke-test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ function wait_for(){

name=$1
shift
# shellcheck disable=SC2124
command=$@

max_retries=10
Expand All @@ -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
Expand Down

0 comments on commit 76fabc6

Please sign in to comment.