~ubuntu-branches/debian/sid/grub2/sid-200907171837

« back to all changes in this revision

Viewing changes to kern/rescue.c

  • Committer: Bazaar Package Importer
  • Author(s): Otavio Salvador
  • Date: 2006-06-10 19:57:01 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060610195701-2khcfacexb229tq4
Tags: 1.94-3
Fix FTBFS in amd64. Closes: 372548

Show diffs side-by-side

added added

removed removed

Lines of Context:
580
580
  grub_env_unset (argv[0]);
581
581
}
582
582
 
 
583
/* exit */
 
584
static void
 
585
grub_rescue_cmd_exit (int argc __attribute__ ((unused)),
 
586
                      char *argv[] __attribute__ ((unused)))
 
587
{
 
588
  grub_exit ();
 
589
}
 
590
 
583
591
static void
584
592
attempt_normal_mode (void)
585
593
{
635
643
                                "set an environment variable");
636
644
  grub_rescue_register_command ("unset", grub_rescue_cmd_unset,
637
645
                                "remove an environment variable");
 
646
  grub_rescue_register_command ("exit", grub_rescue_cmd_exit,
 
647
                                "exit from GRUB");
638
648
  
639
649
  while (1)
640
650
    {