2008-02-10 Robert Millan <rmh@aybabtu.com>
* kern/main.c (grub_load_normal_mode): Do not reset `grub_errno'. Call grub_print_error() instead. This will let user know why we're entering rescue mode. Based on suggestions from Sam Morris.
This commit is contained in:
parent
83abee317d
commit
b5db202af3
2 changed files with 9 additions and 2 deletions
|
@ -102,8 +102,8 @@ grub_load_normal_mode (void)
|
|||
/* Load the module. */
|
||||
grub_dl_load ("normal");
|
||||
|
||||
/* Ignore any error, because we have the rescue mode anyway. */
|
||||
grub_errno = GRUB_ERR_NONE;
|
||||
/* Something went wrong. Print errors here to let user know why we're entering rescue mode. */
|
||||
grub_print_error ();
|
||||
}
|
||||
|
||||
/* The main routine. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue