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

Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
2025-07-30 20:57:43 +02:00
parent 36d0ad7039
commit e1a9490a4d
6 changed files with 175 additions and 27 deletions

View File

@@ -139,6 +139,8 @@ trap_exit_non_zero() {
declare -r var_func="$4"
declare -r var_cmmd="$5"
clean_up "${var_code}"
if [[ "${ERRTRAP}" == "false" ]]; then
if [[ "${VAR_DEBUG_TRACE}" == "true" || "${VAR_DEBUG_TRAP}" == "true" ]]; then dump_vars_exiting; fi
@@ -148,8 +150,6 @@ trap_exit_non_zero() {
gauge ) dialog_gauge_cleaner ;;
esac
clean_up "${var_code}"
printf "%b❌ Trap on 'EXIT' : CISS.debian.installer Script failed. %b%b" "${RED}" "${RES}" "${NL}" | tee -a "${LOG_EXT}"
printf "%b❌ : This was most probably caused by an unbound variable. %b%b" "${RED}" "${RES}" "${NL}" | tee -a "${LOG_EXT}"
printf "%b❌ GIT Commit : %s %b%b" "${RED}" "${VAR_GIT_REL}" "${RES}" "${NL}" | tee -a "${LOG_EXT}"