process cleanup attempt

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2021-12-11 14:36:34 -07:00
parent f561d0b310
commit ed44ff0bc1
1 changed files with 3 additions and 1 deletions

View File

@ -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