summaryrefslogtreecommitdiffstats
path: root/perl-install/security
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/security')
-rw-r--r--perl-install/security/msec.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/security/msec.pm b/perl-install/security/msec.pm
index bd3cb81eff..ca9d0ac9a 100644
--- a/perl-install/security/msec.pm
+++ b/perl-install/security/msec.pm
@@ -79,7 +79,7 @@ sub get_default {
if ($category eq "functions") {
require security::level;
- $num_level = security::level::get() unless $num_level;
+ $num_level ||= security::level::get();
$default_file = "$::prefix/usr/share/msec/level.".$num_level;
}
elsif ($category eq "checks") { $default_file = "$::prefix/var/lib/msec/security.conf" }