Update build.func

This commit is contained in:
CanbiZ 2025-09-08 14:07:25 +02:00
parent 7adac2a342
commit 299a10efe8

View File

@ -26,7 +26,7 @@ elif command -v wget >/dev/null 2>&1; then
fi fi
# This function enables error handling in the script by setting options and defining a trap for the ERR signal. # This function enables error handling in the script by setting options and defining a trap for the ERR signal.
catch_errors() { catch_errors() {
set -Eeuo pipefail set -Eeo pipefail
trap 'error_handler $LINENO "$BASH_COMMAND"' ERR trap 'error_handler $LINENO "$BASH_COMMAND"' ERR
} }