This commit is contained in:
CanbiZ
2025-05-23 08:27:13 +02:00
parent dbcd1db4dc
commit 4369db931c
2 changed files with 30 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ fi
# This function enables error handling in the script by setting options and defining a trap for the ERR signal.
catch_errors() {
set -Eeuo pipefail
set -Eeo pipefail
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
}