mirror of
https://github.com/democratic-csi/democratic-csi.git
synced 2026-10-19 10:04:47 +02:00
process cleanup attempt
Signed-off-by: Travis Glenn Hansen <travisghansen@yahoo.com>
This commit is contained in:
+1
-1
@@ -4,7 +4,7 @@ set -e
|
||||
set -x
|
||||
|
||||
_term() {
|
||||
[[ -n "${SUDO_PID}" ]] && kill -- "${SUDO_PID}"
|
||||
[[ -n "${SUDO_PID}" ]] && sudo kill -- "${SUDO_PID}"
|
||||
}
|
||||
|
||||
trap _term EXIT
|
||||
|
||||
Reference in New Issue
Block a user