summaryrefslogtreecommitdiffstats
path: root/perl-install/security/level.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/security/level.pm')
-rw-r--r--perl-install/security/level.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/security/level.pm b/perl-install/security/level.pm
index e6ac8876c..1b2ef136d 100644
--- a/perl-install/security/level.pm
+++ b/perl-install/security/level.pm
@@ -39,9 +39,9 @@ sub set {
my %sec_levels = reverse %level_list;
my $run_level = $sec_levels{$_[0]};
print "set level: $_[0] -> $run_level\n";
- print $::prefix, "/usr/sbin/msec ", $run_level ? $run_level : 3, "\n";
+ print $::prefix, "/usr/sbin/msec ", $run_level || 3, "\n";
require run_program;
- run_program::rooted($::prefix, "/usr/sbin/msec", $run_level ? $run_level : 3);
+ run_program::rooted($::prefix, "/usr/sbin/msec", $run_level || 3);
}
sub level_choose {