summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2014-01-07 22:00:35 +0100
committerThierry Vignaud <thierry.vignaud@gmail.com>2014-01-07 22:00:35 +0100
commit687d11bf2825b8143fc682e98dd09a189ebeeccc (patch)
tree629d1c452852027234a9bd431a2fbb66d0efb852 /perl-install
parent264e9201b28e330594b581ce1649b744c8c10036 (diff)
downloaddrakx-687d11bf2825b8143fc682e98dd09a189ebeeccc.tar
drakx-687d11bf2825b8143fc682e98dd09a189ebeeccc.tar.gz
drakx-687d11bf2825b8143fc682e98dd09a189ebeeccc.tar.bz2
drakx-687d11bf2825b8143fc682e98dd09a189ebeeccc.tar.xz
drakx-687d11bf2825b8143fc682e98dd09a189ebeeccc.zip
perl_checker cleanups including fixing wrong variable name (mga#11746)
Diffstat (limited to 'perl-install')
-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};