summaryrefslogtreecommitdiffstats
path: root/perl-install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/any.pm')
-rw-r--r--perl-install/any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 232880047..bcbb990a0 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -685,8 +685,8 @@ sub get_autologin() {
my %conf = read_gnomekderc($kdm_file, 'X-:0-Core');
$autologin_user = text2bool($conf{AutoLoginEnable}) && $conf{AutoLoginUser};
} elsif ($dm eq "lightdm") {
- my %conf = read_gnomekderc($lightdm_file, 'SeatDefaults');
- $autologin_user = text2bool($conf{'#dummy-autologin'}) && $conf{autologin-user};
+ my %conf = read_gnomekderc($lightdm_conffile, 'SeatDefaults');
+ $autologin_user = text2bool($conf{'#dummy-autologin'}) && $conf{"autologin-user"};
} else {
my %conf = getVarsFromSh($autologin_file);
$autologin_user = text2bool($conf{AUTOLOGIN}) && $conf{USER};