On Sat, Feb 02, 2008 at 01:20:49PM +0100, Yoshinori K. Okuji wrote:
> On Friday 01 February 2008 21:02, Robert Millan wrote:
> > normal.mod seems to insist in displaying a menu even if grub.cfg didn't
> > define any menu entries.  This seems to be due to a bogus check (for
> > menu instead of menu->size).
> 
> It is not completely bogus, since MENU can be NULL. Probably what you want is:
> 
>   if (menu && menu->size)

Good catch.  Committed.

-- 
Robert Millan

<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call… if you are unable to speak?
(as seen on /.)


_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to