From 2e95e2c7b9fdaabb87ba2fc3a01c8978ce486bf5 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Mon, 28 Jul 2025 09:22:20 +0200 Subject: [PATCH] Update create_lxc.sh --- misc/create_lxc.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/misc/create_lxc.sh b/misc/create_lxc.sh index 03d80131..a52fdb0f 100644 --- a/misc/create_lxc.sh +++ b/misc/create_lxc.sh @@ -20,6 +20,8 @@ fi # This sets error handling options and defines the error_handler function to handle errors set -Eeuo pipefail +TOP_PID=$$ +USER_EXITED=false trap 'error_handler $LINENO "$BASH_COMMAND"' ERR trap on_exit EXIT trap on_interrupt INT