menu: Use fallback terminal instead of panicking on gterm_init() fail
This commit is contained in:
parent
fc2fe1a3d2
commit
194e60a3ba
@ -568,7 +568,7 @@ static void menu_init_term(void) {
|
||||
#if defined (BIOS)
|
||||
vga_textmode_init(true);
|
||||
#elif defined (UEFI)
|
||||
panic(true, "menu: Failed to initialise terminal");
|
||||
term_fallback();
|
||||
#endif
|
||||
}
|
||||
} else {
|
||||
@ -854,7 +854,7 @@ timeout_aborted:
|
||||
#if defined (BIOS)
|
||||
vga_textmode_init(true);
|
||||
#elif defined (UEFI)
|
||||
panic(true, "menu: Failed to initialise terminal");
|
||||
term_fallback();
|
||||
#endif
|
||||
}
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user