]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* grub-core/normal/menu.c: Wait if there were errors shown at "boot"
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 25 Mar 2013 09:32:06 +0000 (10:32 +0100)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Mon, 25 Mar 2013 09:32:06 +0000 (10:32 +0100)
command.

ChangeLog
grub-core/normal/menu.c

index 8425aff66fc0dd5641f0f9e9034fb12ec87c638f..5ca62d00b35e26b2a2b5daa18e3465cfee02cd85 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-03-25  Vladimir Serbinenko  <phcoder@gmail.com>
+
+       * grub-core/normal/menu.c: Wait if there were errors shown at "boot"
+       command.
+
 2013-03-25  Vladimir Serbinenko  <phcoder@gmail.com>
 
        Replace the region at 0 from coreboot tables to available in BSD
index 7e0a15859073cb0a703bb9a5e795b6cfef09c282..787b2877549a360f632f37b735a1ec27903d6fee 100644 (file)
@@ -250,10 +250,15 @@ grub_menu_execute_entry(grub_menu_entry_t entry, int auto_boot)
   if (errs_before != grub_err_printed_errors)
     grub_wait_after_message ();
 
+  errs_before = grub_err_printed_errors;
+
   if (grub_errno == GRUB_ERR_NONE && grub_loader_is_loaded ())
     /* Implicit execution of boot, only if something is loaded.  */
     grub_command_execute ("boot", 0, 0);
 
+  if (errs_before != grub_err_printed_errors)
+    grub_wait_after_message ();
+
   if (entry->submenu)
     {
       if (menu && menu->size)