diff options
Diffstat (limited to 'perl-install/security')
-rw-r--r-- | perl-install/security/main.pm | 2 | ||||
-rw-r--r-- | perl-install/security/msec.pm | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/security/main.pm b/perl-install/security/main.pm index 40dae3daf..ba15e01c2 100644 --- a/perl-install/security/main.pm +++ b/perl-install/security/main.pm @@ -57,7 +57,7 @@ sub basic_seclevel_option { my @sec_levels = $msec->get_seclevel_list(); my $current_level = $msec->get_secure_level(); - push(@sec_levels, $current_level) if ($current_level eq "Dangerous" || $current_level eq "Poor"); + push(@sec_levels, $current_level) if $current_level eq "Dangerous" || $current_level eq "Poor"; $$seclevel_entry->entry->set_editable(0); $$seclevel_entry->set_popdown_strings(@sec_levels); diff --git a/perl-install/security/msec.pm b/perl-install/security/msec.pm index 94af85fa3..33d7fd76d 100644 --- a/perl-install/security/msec.pm +++ b/perl-install/security/msec.pm @@ -195,7 +195,7 @@ sub get_functions { (undef, $function) = split(/ /, $_); ($function, undef) = split(/\(/, $function); if (!(member($function, @ignore_list))) { - push(@functions, $function) if (member($function, @{$options{$category}})); + push(@functions, $function) if member($function, @{$options{$category}}); } } } @@ -250,7 +250,7 @@ sub get_default_checks { open F, $check_file; while (<F>) { ($check, undef) = split(/=/, $_); - push @checks, $check if (!(member($check, qw(MAIL_USER)))) + push @checks, $check if !(member($check, qw(MAIL_USER))) } close F; } |