From f6b321b105bde28bb8da58498a563511720e470e Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Sat, 11 Dec 2021 15:11:25 -0700 Subject: [PATCH] process cleanup attempt Signed-off-by: Travis Glenn Hansen --- ci/bin/run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ci/bin/run.sh b/ci/bin/run.sh index 8b0f6e9..5a651da 100755 --- a/ci/bin/run.sh +++ b/ci/bin/run.sh @@ -3,7 +3,8 @@ set -e set -x -trap 'sudo kill $(jobs -p)' EXIT +trap 'sudo kill -- -$PGID' EXIT +#trap 'sudo kill $(jobs -p)' EXIT #trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT export PATH="/usr/local/lib/nodejs/bin:${PATH}"