summaryrefslogtreecommitdiffstats
path: root/perl-install/services.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/services.pm')
-rw-r--r--perl-install/services.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index 171020e32..611e6d92f 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -281,7 +281,7 @@ sub services {
if ($::isInstall) {
@l = sort { $a->[0] cmp $b->[0] } map { [ /([^\s:]+)/, /\bon\b/ ] } grep { !/:$/ } @raw_l;
} else {
- my $runlevel = my $runlevel = (split " ", `/sbin/runlevel`)[1];
+ my $runlevel = (split " ", `/sbin/runlevel`)[1];
@l = sort { $a->[0] cmp $b->[0] } map { [ /([^\s:]+)/, /^\t/ ? /\bon\b/ : /\b$runlevel:on\b/ ] } grep { !/:$/ } @raw_l;
}
[ map { $_->[0] } @l ], [ map { $_->[0] } grep { $_->[1] } @l ];