mirror of
https://github.com/kubernetes-sigs/kind.git
synced 2025-12-01 07:26:05 +07:00
fix new shellcheck v0.9.0 failure
this code is not unreachable
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user