V8.00.000.2025.06.17
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 45s
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 45s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
This commit is contained in:
@@ -44,7 +44,7 @@ guard_sourcing
|
||||
#######################################
|
||||
print_file_err() {
|
||||
{
|
||||
printf "❌ CISS.debian.installer Script failed. %b" "${NL}"
|
||||
printf "❌ Trap on 'ERR' : CISS.debian.installer Script failed. %b" "${NL}"
|
||||
printf "❌ GIT Commit : %s %b" "${VAR_GIT_REL}" "${NL}"
|
||||
printf "❌ Version : %s %b" "${VAR_VERSION}" "${NL}"
|
||||
printf "❌ Epoch : %s %b" "${EPOCHREALTIME}" "${NL}"
|
||||
@@ -69,14 +69,18 @@ print_file_err() {
|
||||
printf "❌ Arguments Sanitized : %s %b" "${VAR_ARG_SANITIZED}" "${NL}"
|
||||
if [[ "${VAR_DEBUG_TRACE}" == "true" || "${VAR_DEBUG_TRAP}" == "true" ]]; then
|
||||
printf "❌ Vars Dump saved at : %s %b" "${LOG_VAR}" "${NL}"
|
||||
printf "❌ cat %s %b" "${LOG_VAR}" "${NL}"
|
||||
printf "❌ less -R %s %b" "${LOG_VAR}" "${NL}"
|
||||
fi
|
||||
if [[ "${VAR_DEBUG_TRAP}" == "true" ]]; then
|
||||
printf "❌ DEBUG Log saved at : %s %b" "${LOG_DBG}" "${NL}"
|
||||
printf "❌ cat %s %b" "${LOG_DBG}" "${NL}"
|
||||
printf "❌ less -R %s %b" "${LOG_DBG}" "${NL}"
|
||||
fi
|
||||
if [[ "${VAR_DEBUG_TRACE}" == "true" ]]; then
|
||||
printf "❌ TRACE Log saved at : %s %b" "${LOG_TRC}" "${NL}"
|
||||
printf "❌ cat %s %b" "${LOG_TRC}" "${NL}"
|
||||
printf "❌ less -R %s %b" "${LOG_TRC}" "${NL}"
|
||||
fi
|
||||
printf "%b" "${NL}"
|
||||
} >> "${LOG_ERR}"
|
||||
@@ -113,7 +117,7 @@ print_file_err() {
|
||||
# None
|
||||
#######################################
|
||||
print_scr_err() {
|
||||
printf "%b❌ CISS.debian.installer Script failed. %b%b" "${RED}" "${RES}" "${NL}"
|
||||
printf "%b❌ Trap on 'ERR' : CISS.debian.installer Script failed. %b%b" "${RED}" "${RES}" "${NL}"
|
||||
printf "%b❌ GIT Commit : %s %b%b" "${RED}" "${VAR_GIT_REL}" "${RES}" "${NL}"
|
||||
printf "%b❌ Version : %s %b%b" "${RED}" "${VAR_VERSION}" "${RES}" "${NL}"
|
||||
printf "%b❌ Epoch : %s %b%b" "${RED}" "${EPOCHREALTIME}" "${RES}" "${NL}"
|
||||
@@ -140,14 +144,18 @@ print_scr_err() {
|
||||
printf "%b❌ cat %s %b%b" "${RED}" "${LOG_ERR}" "${RES}" "${NL}"
|
||||
if [[ "${VAR_DEBUG_TRACE}" == "true" || "${VAR_DEBUG_TRAP}" == "true" ]]; then
|
||||
printf "%b❌ Vars Dump saved at : %s %b%b" "${RED}" "${LOG_VAR}" "${RES}" "${NL}"
|
||||
printf "%b❌ cat %s %b%b" "${RED}" "${LOG_VAR}" "${RES}" "${NL}"
|
||||
printf "%b❌ less -R %s %b%b" "${RED}" "${LOG_VAR}" "${RES}" "${NL}"
|
||||
fi
|
||||
if [[ "${VAR_DEBUG_TRAP}" == "true" ]]; then
|
||||
printf "%b❌ Debug Log saved at : %s %b%b" "${RED}" "${LOG_DBG}" "${RES}" "${NL}"
|
||||
printf "%b❌ cat %s %b%b" "${RED}" "${LOG_DBG}" "${RES}" "${NL}"
|
||||
printf "%b❌ less -R %s %b%b" "${RED}" "${LOG_DBG}" "${RES}" "${NL}"
|
||||
fi
|
||||
if [[ "${VAR_DEBUG_TRACE}" == "true" ]]; then
|
||||
printf "%b❌ Trace Log saved at : %s %b%b" "${RED}" "${LOG_TRC}" "${RES}" "${NL}"
|
||||
printf "%b❌ cat %s %b%b" "${RED}" "${LOG_TRC}" "${RES}" "${NL}"
|
||||
printf "%b❌ less -R %s %b%b" "${RED}" "${LOG_TRC}" "${RES}" "${NL}"
|
||||
fi
|
||||
print_stacktrace
|
||||
printf "%b" "${NL}"
|
||||
|
||||
Reference in New Issue
Block a user