2008-01-30 Tristan Gingold <gingold@free.fr>

* kern/rescue.c: Silently accept empty lines.
This commit is contained in:
robertmh 2008-01-30 14:42:09 +00:00
parent 70bc2ef25c
commit ae5a9cd7b2
2 changed files with 6 additions and 0 deletions

View file

@ -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.

View 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;