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.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/any.pm b/perl-install/any.pm
index 093994aed..2c4f421de 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -763,7 +763,7 @@ sub set_autologin {
#- Configure LXDM
my $lxdm_conffile = "$::prefix/etc/lxdm/lxdm.conf";
eval { update_gnomekderc($lxdm_conffile, 'base' => (
- if_($autologin->{user}, 'autologin' => '@' . $autologin->{user})
+ 'autologin' => $autologin->{user} ? '@' . $autologin->{user} : ''
));
if ($autologin->{user} && $autologin->{desktop} && !member($autologin->{desktop}, qw(default failsafe))) {
my $xsession_file = find {