diff --git a/install.sh b/install.sh index 728d59d..699a817 100755 --- a/install.sh +++ b/install.sh @@ -193,6 +193,7 @@ cleanup() { if [ -n "${SUDO_KEEPER_PID:-}" ]; then kill "$SUDO_KEEPER_PID" 2>/dev/null || true fi + jobs -p 2>/dev/null | xargs -r kill 2>/dev/null || true } trap cleanup EXIT INT TERM