summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 db662f1ae..20bf94fd9 100644
--- a/perl-install/any.pm
+++ b/perl-install/any.pm
@@ -675,7 +675,7 @@ sub set_autologin {
log::l("set_autologin $autologin->{user} $autologin->{desktop}");
my $do_autologin = bool2text($autologin->{user});
- $autologin->{dm} || = 'xdm';
+ $autologin->{dm} ||= 'xdm';
$do_pkgs->ensure_is_installed($autologin->{dm});
$do_pkgs->ensure_is_installed('autologin', '/usr/bin/startx.autologin')
if $autologin->{user} && $autologin->{dm} eq 'xdm';