~ilya-yanok/ubuntu/precise/grub2/fix-for-948716

« back to all changes in this revision

Viewing changes to normal/menu_entry.c

  • Committer: Bazaar Package Importer
  • Author(s): Robert Millan
  • Date: 2009-07-25 19:00:53 UTC
  • mfrom: (1.6.3 upstream)
  • mto: (17.4.13 sid)
  • mto: This revision was merged to the branch mainline in revision 53.
  • Revision ID: james.westby@ubuntu.com-20090725190053-uv3lm6ya3zxs77ep
ImportĀ upstreamĀ versionĀ 1.96+20090725

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <grub/loader.h>
24
24
#include <grub/command.h>
25
25
#include <grub/parser.h>
26
 
#include <grub/auth.h>
27
26
 
28
27
enum update_mode
29
28
  {
1027
1026
{
1028
1027
  struct screen *screen;
1029
1028
  int prev_c;
1030
 
  grub_err_t err = GRUB_ERR_NONE;
1031
 
 
1032
 
  err = grub_auth_check_authentication (NULL);
1033
 
 
1034
 
  if (err)
1035
 
    {
1036
 
      grub_print_error ();
1037
 
      grub_errno = GRUB_ERR_NONE;
1038
 
      return;
1039
 
    }
1040
1029
 
1041
1030
  screen = make_screen (entry);
1042
1031
  if (! screen)