diff --git a/config/includes.chroot/usr/lib/live/boot/0042_ciss_post_decrypt_attest b/config/includes.chroot/usr/lib/live/boot/0042_ciss_post_decrypt_attest index 6c14f34..f596910 100644 --- a/config/includes.chroot/usr/lib/live/boot/0042_ciss_post_decrypt_attest +++ b/config/includes.chroot/usr/lib/live/boot/0042_ciss_post_decrypt_attest @@ -40,16 +40,26 @@ while [ "${ciss_debug_countdown}" -gt 0 ]; do done +printf "\e[93m[DEBUG] 0042() reached : countdown finished, checking panic availability \n\e[0m" + ### Check panic command availability ------------------------------------------------------------------------------------------- if ! command -v panic >/dev/null 2>&1; then + printf "\e[93m[DEBUG] 0042() panic : installing fallback panic() \n\e[0m" + panic() { printf '\e[91m[FATAL] %s \n\e[0m' "${*}" >&2 exit 1 } +else + + printf "\e[93m[DEBUG] 0042() panic : existing panic command available \n\e[0m" + fi +printf "\e[93m[DEBUG] 0042() reached : panic availability check finished \n\e[0m" + ### Declare variables ---------------------------------------------------------------------------------------------------------- ### Will be replaced at build time: