On Feb 3, 2008 5:07 AM, Robert Millan <[EMAIL PROTECTED]> wrote: > On Sat, Feb 02, 2008 at 09:59:57PM +0100, Marco Gerards wrote: > > Robert Millan <[EMAIL PROTECTED]> writes: > > > > > Try the following grub.cfg: > > > > > > cat (memdisk)/non-existant-file > > > echo this point should never be reached > > > read > > > > > > You'll see that the echo is reached, even if cat returned an error. > > > > > > This becomes much worse when found in situations like: > > > > > > font (xxx)/some-file.pff > > > terminal gfxterm > > > > > > and the font wasn't loaded. > > > > Urgh! Bean committed a patch that zero'ed the error. Perhaps it was > > wrong? ;-) > > > > Can you try reverting it? :-) > > Actually, it was wrong before that.
i think you can use the if statement to test command result. -- Bean _______________________________________________ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel