From ed44ff0bc167c9c4880febb1f2450b3305abb03a Mon Sep 17 00:00:00 2001 From: Travis Glenn Hansen Date: Sat, 11 Dec 2021 14:36:34 -0700 Subject: [PATCH] process cleanup attempt Signed-off-by: Travis Glenn Hansen --- ci/bin/run.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ci/bin/run.sh b/ci/bin/run.sh index bba43bd..7e46463 100755 --- a/ci/bin/run.sh +++ b/ci/bin/run.sh @@ -3,6 +3,8 @@ set -e set -x +trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT + export PATH="/usr/local/lib/nodejs/bin:${PATH}" # install deps npm i @@ -20,4 +22,4 @@ sleep 10 #sudo -E ci/bin/launch-csi-sanity.sh # kill all processes of the session -sudo kill $(ps -s $$ -o pid=) || true +#sudo kill $(ps -s $$ -o pid=) || true