mirror of
https://github.com/freebsd/freebsd-src.git
synced 2026-10-28 11:25:21 +01:00
vt_core: don't draw the splash if a panic occurred
The shutdown splash draws over all the useful info if ddb(4) is disabled. Don't draw the splash screen if we're rebooting because of a panic. MFC after: 3 days
This commit is contained in:
1 parent
9b0d9401e6
commit
bc83f41458
1 file changed
+3
@@ -1684,6 +1684,9 @@ vtterm_splash(struct vt_device *vd)
|
||||
uintptr_t image;
|
||||
vt_axis_t top, left;
|
||||
|
||||
if (KERNEL_PANICKED())
|
||||
return;
|
||||
|
||||
if ((vd->vd_flags & VDF_TEXTMODE) != 0 || (boothowto & RB_MUTE) == 0)
|
||||
return;
|
||||
|
||||
|
||||
Reference in new issue
Block a user