bug-grub
[Top][All Lists]
Advanced

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

[PATCH] new fallback bug


From: Alban Crequy
Subject: [PATCH] new fallback bug
Date: Tue, 27 Jul 2004 22:16:43 +0200
User-agent: Mutt/1.5.6+20040523i

Hello,

When the setting fallback is enabled, we don't have to prompt a user's
intervention because grub have to start automatically. And when the setting
fallback is disabled, we have to prompt a user's intervention because the error
must be visible.

This has been already implemented but it doesn't work. The following patch
makes it work.



*************************************************************
# diff -u stage2/cmdline.c-before stage2/cmdline.c
--- stage2/cmdline.c-before     2004-07-27 15:52:50.000000000 -0400
+++ stage2/cmdline.c    2004-07-27 15:53:37.000000000 -0400
@@ -201,7 +201,7 @@

          /* If a fallback entry is defined, don't prompt a user's
             intervention.  */
-         if (fallback_entryno >= 0)
+         if (-1 == fallback_entryno)
            {
              grub_printf ("\nPress any key to continue...");
              (void) getkey ();
*************************************************************

--
Alban Crequy
Stagiaire

Révolution Linux http://www.revolutionlinux.com





reply via email to

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