summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-09-23 16:36:34 +0000
committerOlivier Blin <oblin@mandriva.com>2009-09-23 16:36:34 +0000
commit8d2993a3928f8637b8940b9ad23c59517204e4ad (patch)
treeb69e42766d64287e9c8f0278a3e621ec87dac6b5
parentc7a6fd639fff984e6a0fd98cd8e357056027327b (diff)
downloaddrakx-8d2993a3928f8637b8940b9ad23c59517204e4ad.tar
drakx-8d2993a3928f8637b8940b9ad23c59517204e4ad.tar.gz
drakx-8d2993a3928f8637b8940b9ad23c59517204e4ad.tar.bz2
drakx-8d2993a3928f8637b8940b9ad23c59517204e4ad.tar.xz
drakx-8d2993a3928f8637b8940b9ad23c59517204e4ad.zip
read kdm config file only if kdm is to be used
-rw-r--r--perl-install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index fa3d9137d..ba9a5f3ac 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -658,7 +658,7 @@ sub get_autologin() {
if ($dm eq "gdm") {
my %conf = read_gnomekderc($gdm_file, 'daemon');
$autologin_user = text2bool($conf{AutomaticLoginEnable}) && $conf{AutomaticLogin};
- } else { # KDM / MdkKDM
+ } elsif ($dm eq "kdm") {
my %conf = read_gnomekderc($kdm_file, 'X-:0-Core');
$autologin_user = text2bool($conf{AutoLoginEnable}) && $conf{AutoLoginUser};
}