]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-02-02 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sat, 2 Feb 2008 16:48:52 +0000 (16:48 +0000)
committerrobertmh <robertmh@localhost>
Sat, 2 Feb 2008 16:48:52 +0000 (16:48 +0000)
        * normal/main.c (grub_normal_execute): Check for `menu->size' when
        determining whether menu has to be displayed.

ChangeLog
normal/main.c

index 7be624ced7d38f36b7bd66f8966df01ea053d756..d345ad8a72573e7cb6307f7c3fdbcf7174d9b461 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-02-02  Robert Millan  <rmh@aybabtu.com>
+
+       * normal/main.c (grub_normal_execute): Check for `menu->size' when
+       determining whether menu has to be displayed.
+
 2008-02-02  Marco Gerards  <marco@gnu.org>
 
        * bus/pci.c: New file.
index 5fb3fa00729be65297eb13119c96d1a17f60835f..e5458fc988fb76939cd166f9bcc1d0fbd97339ed 100644 (file)
@@ -474,7 +474,7 @@ grub_normal_execute (const char *config, int nested)
       grub_errno = GRUB_ERR_NONE;
     }
 
-  if (menu)
+  if (menu && menu->size)
     {
       grub_menu_run (menu, nested);
       if (nested)