From: robertmh Date: Wed, 30 Jan 2008 14:42:09 +0000 (+0000) Subject: 2008-01-30 Tristan Gingold X-Git-Tag: 1.98~1655 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5a9cd7b2d70fc2ea50961d1484e9f87a327d6f;p=thirdparty%2Fgrub.git 2008-01-30 Tristan Gingold * kern/rescue.c: Silently accept empty lines. --- diff --git a/ChangeLog b/ChangeLog index 8cd297bc6..455abb46f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-30 Tristan Gingold + + * kern/rescue.c: Silently accept empty lines. + 2008-01-29 Bean * boot/i386/pc/lnxboot.S (data_start): Code cleanup. diff --git a/kern/rescue.c b/kern/rescue.c index 9d7da10e7..bd5d579f9 100644 --- a/kern/rescue.c +++ b/kern/rescue.c @@ -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;