fix new shellcheck v0.9.0 failure

this code is not unreachable
This commit is contained in:
Benjamin Elder
2022-12-15 11:43:50 -08:00
parent 71273df4ca
commit 0518c583a7

View File

@@ -46,6 +46,7 @@ cleanup() {
} }
# setup signal handlers # setup signal handlers
# shellcheck disable=SC2317 # this is not unreachable code
signal_handler() { signal_handler() {
if [ -n "${GINKGO_PID:-}" ]; then if [ -n "${GINKGO_PID:-}" ]; then
kill -TERM "$GINKGO_PID" || true kill -TERM "$GINKGO_PID" || true