All of lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Gerards <mgerards@xs4all.nl>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: grub.cfg parser still doesn't abort on error
Date: Sat, 02 Feb 2008 21:59:57 +0100	[thread overview]
Message-ID: <87r6fvcbw2.fsf@xs4all.nl> (raw)
In-Reply-To: <20080202204400.GA346@thorin> (Robert Millan's message of "Sat, 2 Feb 2008 21:44:00 +0100")

Robert Millan <rmh@aybabtu.com> 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? :-)

--
Marco




  reply	other threads:[~2008-02-02 20:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-02 20:44 grub.cfg parser still doesn't abort on error Robert Millan
2008-02-02 20:59 ` Marco Gerards [this message]
2008-02-02 21:07   ` Robert Millan
2008-02-03  3:05     ` Bean
2008-02-03 10:55       ` Robert Millan
2008-02-03 13:05         ` Bean
2008-02-03 13:29           ` Robert Millan
2008-02-03 14:53             ` Robert Millan
2008-02-03 18:26               ` Robert Millan
2008-02-03 13:09         ` Yoshinori K. Okuji

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r6fvcbw2.fsf@xs4all.nl \
    --to=mgerards@xs4all.nl \
    --cc=grub-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.