summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/bootlook.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/bootlook.pm b/perl-install/bootlook.pm
index 2781c29a2..cbad70b79 100644
--- a/perl-install/bootlook.pm
+++ b/perl-install/bootlook.pm
@@ -279,7 +279,8 @@ sub isAutologin {
$line =~ s/AUTOLOGIN=(yes|no)/$1/;
chomp ($line);
$line = ($line eq "yes");
- return ($line);
+ my %au = get_autologin('');
+ return ($line && $au{autologin} && $au{desktop});
}
sub get_autologin {