summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone/drakedm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/standalone/drakedm')
-rw-r--r--perl-install/standalone/drakedm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakedm b/perl-install/standalone/drakedm
index e9b516de8..a84cac48e 100644
--- a/perl-install/standalone/drakedm
+++ b/perl-install/standalone/drakedm
@@ -50,7 +50,7 @@ several different X sessions on your local machine at the same time.")),
my $done = 0;
$new_dm = { reverse %dm }->{$new_dm};
substInFile {
- $done ||= s/^(DISPLAYMANAGER)=.*/\1=$new_dm/;
+ $done ||= s/^(DISPLAYMANAGER)=.*/$1=$new_dm/;
print "\nDISPLAYMANAGER=$dm{$dm}" if eof && !$done;
} $cfg_file;
}