From 687d11bf2825b8143fc682e98dd09a189ebeeccc Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 7 Jan 2014 22:00:35 +0100 Subject: perl_checker cleanups including fixing wrong variable name (mga#11746) --- perl-install/any.pm | 4 ++-- 1 file 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}; -- cgit v1.2.1