process cleanup attempt

Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
Travis Glenn Hansen 2021-12-11 15:14:53 -07:00
parent f6b321b105
commit a05861581c
1 changed files with 2 additions and 1 deletions

View File

@ -3,7 +3,8 @@
set -e set -e
set -x set -x
trap 'sudo kill -- -$PGID' EXIT trap 'kill -- -$PGID' EXIT
#trap 'sudo kill -- -$PGID' EXIT
#trap 'sudo kill $(jobs -p)' EXIT #trap 'sudo kill $(jobs -p)' EXIT
#trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT #trap "trap - SIGTERM && kill -- -$$" SIGINT SIGTERM EXIT