V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 42s

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-24 21:36:08 +02:00
parent 3245ac798c
commit 16a1f7fb2c
6 changed files with 52 additions and 33 deletions

View File

@@ -14,8 +14,12 @@ guard_sourcing
#######################################
# Check for DEBUG mode.
# Globals:
# LOG_VAR
# VAR_DEBUG_TRACE
# VAR_DEBUG_TRAP
# Arguments:
# None
# None
#######################################
pre_scan_debug() {
declare args=("$@")
@@ -43,6 +47,7 @@ pre_scan_debug() {
;;
trap)
declare -gx VAR_DEBUG_TRAP="true"
initialize_debug_trap
trap 'debug_trap' DEBUG
;;
*)