V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 39s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 39s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -10,13 +10,17 @@
|
||||
# SPDX-PackageName: CISS.debian.live.builder
|
||||
# SPDX-Security-Contact: security@coresecret.eu
|
||||
|
||||
guard_sourcing
|
||||
|
||||
#######################################
|
||||
# Trap function to be called on 'EXIT'.
|
||||
# Globals:
|
||||
# VAR_DEBUG_TRACE
|
||||
# VAR_DEBUG_TRAP
|
||||
# VAR_LAST_CMD
|
||||
# __preexec_invoke
|
||||
# Arguments:
|
||||
# $1: "$?"
|
||||
# 1: "$?"
|
||||
#######################################
|
||||
trap_exit() {
|
||||
trap - DEBUG ERR EXIT INT
|
||||
@@ -49,7 +53,7 @@ trap_exit() {
|
||||
# VAR_DEBUG_TRAP
|
||||
# VAR_SCRIPT_SUCCESS
|
||||
# Arguments:
|
||||
# $1: ${var_trap_on_exit_code} of trap_exit()
|
||||
# 1: ${var_trap_on_exit_code} of trap_exit()
|
||||
#######################################
|
||||
print_scr_exit() {
|
||||
declare -r var_print_scr_exit_code="$1"
|
||||
|
||||
Reference in New Issue
Block a user