mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-29 18:49:22 +00:00
2004-06-27 Tomas Ebenlendr <ebik@ucw.cz>
* kern/rescue.c (grub_enter_rescue_mode): Don't continue when there was no input.
This commit is contained in:
1 parent
cfb12aff28
commit
6c51eb648e
2 files changed
+6
-1
No files matched your search
+1
-1
@@ -676,7 +676,7 @@ grub_enter_rescue_mode (void)
|
||||
/* Get a command line. */
|
||||
grub_rescue_get_command_line ("grub rescue> ");
|
||||
|
||||
if (grub_split_cmdline (line, getline, &n, &args))
|
||||
if (grub_split_cmdline (line, getline, &n, &args) || n < 0)
|
||||
continue;
|
||||
|
||||
/* In case of an assignment set the environment accordingly
|
||||
|
||||
Reference in new issue
Block a user