From 4909d15c20f385547b1c3ab292b56171019373a7 Mon Sep 17 00:00:00 2001 From: "Justin C. Miller" Date: Tue, 23 Apr 2024 23:46:31 -0700 Subject: [PATCH] [boot] Fix panic handler not installing The switch to util::bitset introduced a typo that caused panic handlers to never load. --- src/boot/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/boot/main.cpp b/src/boot/main.cpp index d53a882..2ba01fc 100644 --- a/src/boot/main.cpp +++ b/src/boot/main.cpp @@ -105,7 +105,7 @@ load_resources( if (!has_panic) { for (const descriptor &d : bc.panics()) { - if (d.flags.get(desc_flags::graphical)) { + if (!d.flags.get(desc_flags::graphical)) { panic = loader::load_file(disk, d.path); has_panic = true; break;