Update create_lxc.sh

This commit is contained in:
CanbiZ 2025-07-28 09:22:20 +02:00
parent 858f0d7bef
commit 2e95e2c7b9

View File

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