summaryrefslogtreecommitdiffstats
path: root/perl-install/security
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/security')
-rw-r--r--perl-install/security/msec.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/security/msec.pm b/perl-install/security/msec.pm
index 9284704c3..4870d75b6 100644
--- a/perl-install/security/msec.pm
+++ b/perl-install/security/msec.pm
@@ -127,7 +127,7 @@ sub set_check {
sub apply_functions {
my ($msec) = @_;
- my @list = ($msec->list_functions('system'), $msec->list_functions('network'));
+ my @list = sort ($msec->list_functions('system'), $msec->list_functions('network'));
substInFile {
foreach my $function (@list) { s/^$function.*\n// }
if (eof) {
@@ -141,7 +141,7 @@ sub apply_functions {
sub apply_checks {
my ($msec) = @_;
- my @list = $msec->list_checks;
+ my @list = sort $msec->list_checks;
substInFile {
foreach my $check (@list) { s/^$check.*\n// }
if (eof) {