]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-01-30 Tristan Gingold <gingold@free.fr>
authorrobertmh <robertmh@localhost>
Wed, 30 Jan 2008 14:42:09 +0000 (14:42 +0000)
committerrobertmh <robertmh@localhost>
Wed, 30 Jan 2008 14:42:09 +0000 (14:42 +0000)
        * kern/rescue.c: Silently accept empty lines.

ChangeLog
kern/rescue.c

index 8cd297bc60b932516d7413495dc623f3a1145d12..455abb46f9a67824e864df06334f6ded86589748 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-30  Tristan Gingold  <gingold@free.fr>
+
+       * kern/rescue.c: Silently accept empty lines.
+
 2008-01-29  Bean  <bean123ch@gmail.com>
 
        * boot/i386/pc/lnxboot.S (data_start): Code cleanup.
index 9d7da10e7c5b4f6652ed227f377b9f72ee6717fe..bd5d579f9a73da87bc19284fa9fe5c0349180589 100644 (file)
@@ -659,6 +659,8 @@ grub_enter_rescue_mode (void)
 
       /* Get a command line.  */
       grub_rescue_get_command_line ("grub rescue> ");
+      if (line[0] == 0)
+       continue;
 
       if (grub_parser_split_cmdline (line, getline, &n, &args) || n < 0)
        continue;