* kern/rescue.c (grub_enter_rescue_mode): Don't continue when
there was no input.
+2004-06-27 Tomas Ebenlendr <ebik@ucw.cz>
+
+ * kern/rescue.c (grub_enter_rescue_mode): Don't continue when
+ there was no input.
+
2004-06-27 Tomas Ebenlendr <ebik@ucw.cz>
* normal/cmdline.c (grub_set_history): Fix off by one bug. Fixed
/* 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