V8.00.000.2025.06.17
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -34,6 +34,9 @@ trap_exit() {
|
||||
|
||||
trap - DEBUG ERR EXIT INT TERM
|
||||
|
||||
### Defensive shell behavior inside trap.
|
||||
set +e +o pipefail
|
||||
|
||||
if [[ -n "${__preexec_invoke:-}" ]]; then
|
||||
debug_trap_logger "${var_exit_code}" "${VAR_LAST_CMD}"
|
||||
unset __preexec_invoke
|
||||
|
||||
Reference in New Issue
Block a user