Skip to content

Commit 24c8d15

Browse files
committed
fix: suppress shellcheck SC2034 for unused loop variable in PGID wait
1 parent fd63a6f commit 24c8d15

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

start.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ if [ -f "$CONTROL_PGID_FILE" ]; then
9090
echo "Terminating old control-agent process group (PGID $OLD_PGID)..."
9191
kill -TERM -"$OLD_PGID" 2>/dev/null || true
9292
# Wait up to 5s for graceful shutdown
93-
for i in 1 2 3 4 5; do
93+
for _i in 1 2 3 4 5; do
9494
if ! kill -0 -"$OLD_PGID" 2>/dev/null; then
9595
echo " Process group terminated cleanly"
9696
break

0 commit comments

Comments
 (0)