grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Warning if grub.cfg not found


From: Robert Millan
Subject: Re: [PATCH] Warning if grub.cfg not found
Date: Sun, 28 Sep 2008 15:26:26 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Sat, Sep 27, 2008 at 07:37:52PM +0200, Carles Pina i Estany wrote:
> --- normal/main.c     (revision 1877)
> +++ normal/main.c     (working copy)
> @@ -230,7 +230,13 @@
>    /* Try to open the config file.  */
>    file = grub_file_open (config);
>    if (! file)
> -    return 0;
> +    {

This seems to include the possibility that file cannot be read simply because
it's not there.  Perhaps user intended so, and this shouldn't be reported as
an error.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]