summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 c672d0cb1..f03760c09 100644
--- a/perl-install/security/msec.pm
+++ b/perl-install/security/msec.pm
@@ -131,10 +131,10 @@ sub apply_functions {
substInFile {
foreach my $function (@list) { s/^$function.*\n// }
if (eof) {
- print "\n", join("\n", map {
+ $_ .= join("\n", if_(!$_, ''), (map {
my $value = $msec->get_function_value($_);
if_($value ne 'default', "$_ ($value)");
- } @list);
+ } @list), "");
}
} $msec->{functions}{values_file};
}