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.
This commit is contained in:
robertmh 2008-02-02 16:48:52 +00:00
parent 58c6922006
commit e03a11328e
2 changed files with 6 additions and 1 deletions

View file

@ -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.

View 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)