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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-10-19 15:15:02 +01:00
parent aaf9033894
commit c0b8053809

View File

@@ -90,6 +90,9 @@ print_file_err() {
printf "%b" "${NL}" printf "%b" "${NL}"
} >> "${LOG_ERR}" } >> "${LOG_ERR}"
} }
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f print_file_err
####################################### #######################################
# Print Error Message for Trap on 'ERR' on Terminal. # Print Error Message for Trap on 'ERR' on Terminal.
@@ -170,6 +173,9 @@ print_scr_err() {
print_stacktrace print_stacktrace
printf "%b" "${NL}" printf "%b" "${NL}"
} }
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f print_scr_err
####################################### #######################################
# Print function() stacktrace. # Print function() stacktrace.
@@ -177,6 +183,8 @@ print_scr_err() {
# BASH_LINENO # BASH_LINENO
# BASH_SOURCE # BASH_SOURCE
# FUNCNAME # FUNCNAME
# LINENO
# LOG_ERR
# NL # NL
# RED # RED
# RES # RES
@@ -200,6 +208,9 @@ print_stacktrace() {
done done
printf "%b" "${NL}" printf "%b" "${NL}"
} }
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f print_stacktrace
####################################### #######################################
# Trap function to be called on 'ERR'. # Trap function to be called on 'ERR'.
@@ -212,6 +223,7 @@ print_stacktrace() {
# ERRTRAP # ERRTRAP
# VAR_DEBUG_TRACE # VAR_DEBUG_TRACE
# VAR_DEBUG_TRAP # VAR_DEBUG_TRAP
# VAR_HEADROOM
# VAR_IN_DIALOG_WR # VAR_IN_DIALOG_WR
# Arguments: # Arguments:
# 1: "$?" # 1: "$?"
@@ -245,4 +257,7 @@ trap_err() {
print_file_err print_file_err
print_scr_err print_scr_err
} }
### Prevents accidental 'unset -f'.
# shellcheck disable=SC2034
readonly -f trap_err
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh