* grub-core/osdep/unix/config.c: Remove extraneous comma.

This commit is contained in:
Michael Chang 2014-09-21 17:49:13 +02:00 committed by Vladimir Serbinenko
parent 631a820038
commit 0aece00c54
9 changed files with 22 additions and 12 deletions

View file

@ -302,7 +302,7 @@ grub_enter_normal_mode (const char *config)
nested_level++;
grub_normal_execute (config, 0, 0);
grub_boot_time ("Entering shell");
grub_cmdline_run (0);
grub_cmdline_run (0, 1);
nested_level--;
if (grub_normal_exit_level)
grub_normal_exit_level--;
@ -424,11 +424,15 @@ grub_normal_read_line (char **line, int cont,
}
void
grub_cmdline_run (int nested)
grub_cmdline_run (int nested, int force_auth)
{
grub_err_t err = GRUB_ERR_NONE;
err = grub_auth_check_authentication (NULL);
do
{
err = grub_auth_check_authentication (NULL);
}
while (err && force_auth);
if (err)
{