]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
Refresh before abort
authorVladimir Serbinenko <phcoder@gmail.com>
Sat, 20 Feb 2016 08:12:15 +0000 (09:12 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 22 Feb 2016 18:46:55 +0000 (19:46 +0100)
This ensures that abort message is actually visible to the user.

grub-core/kern/misc.c

index e3f8516339f951f2260fc47945d617d4e9ade5e5..d1a54df6c12e3358e07aa86366c65af22ca3af5c 100644 (file)
@@ -1106,6 +1106,8 @@ grub_fatal (const char *fmt, ...)
   grub_vprintf (_(fmt), ap);
   va_end (ap);
 
+  grub_refresh ();
+
   grub_abort ();
 }