diff --git a/docker-entrypoint b/docker-entrypoint index cdff426..3fca0db 100755 --- a/docker-entrypoint +++ b/docker-entrypoint @@ -125,7 +125,7 @@ term_handler() { } # shellcheck disable=2039 -trap 'kill $$; term_handler' SIGTERM +trap 'kill $!; term_handler' SIGTERM if [ "$1" = "autoheal" ] then