summaryrefslogtreecommitdiffstats
path: root/perl-install/Xconfig/various.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/Xconfig/various.pm')
-rw-r--r--perl-install/Xconfig/various.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/Xconfig/various.pm b/perl-install/Xconfig/various.pm
index daa8d27f9..ff447e0fd 100644
--- a/perl-install/Xconfig/various.pm
+++ b/perl-install/Xconfig/various.pm
@@ -58,7 +58,7 @@ sub runlevel {
if ($runlevel) {
substInFile { s/^id:\d:initdefault:\s*$/id:$runlevel:initdefault:\n/ } $f if !$::testing;
} else {
- cat_($f) =~ /^id:(\d):initdefault:\s*$/ && $1;
+ cat_($f) =~ /^id:(\d):initdefault:\s*$/m && $1;
}
}