Update create_lxc.sh
This commit is contained in:
parent
858f0d7bef
commit
2e95e2c7b9
@ -20,6 +20,8 @@ fi
|
|||||||
|
|
||||||
# This sets error handling options and defines the error_handler function to handle errors
|
# This sets error handling options and defines the error_handler function to handle errors
|
||||||
set -Eeuo pipefail
|
set -Eeuo pipefail
|
||||||
|
TOP_PID=$$
|
||||||
|
USER_EXITED=false
|
||||||
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
|
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
|
||||||
trap on_exit EXIT
|
trap on_exit EXIT
|
||||||
trap on_interrupt INT
|
trap on_interrupt INT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user