hack/ginkgo-e2e.sh: fix misplaced brackets

If the script got killed, it failed to wait properly:

    Waiting for Ginkgo with pid 73873...
    ./hack/ginkgo-e2e.sh: line 236: wait: `{73873}': not a pid or valid job spec
This commit is contained in:
Patrick Ohly
2025-03-26 12:10:23 +01:00
parent 0eaee48ecb
commit 3067bbfe15

View File

@@ -233,7 +233,7 @@ EOF
kill -TERM "-${GINKGO_CLI_PID}" || true
echo "Waiting for Ginkgo with pid ${GINKGO_CLI_PID}..."
wait "{$GINKGO_CLI_PID}"
wait "${GINKGO_CLI_PID}"
echo "Ginkgo terminated."
fi
}