diff --git a/lynis_report.pl b/lynis_report.pl
index be6ee6a..61973ba 100755
--- a/lynis_report.pl
+++ b/lynis_report.pl
@@ -1082,7 +1082,11 @@ END
END
if (exists($lynis_report_data{'log_file'})) {
- print OUT "\t\t\t\t\t\tlog file: | $lynis_report_data{'log_file'} | \n";
+ if (ref($lynis_report_data{'log_file'}) eq 'ARRAY') {
+ print OUT "\t\t\t\t\t\tlog file: | ".join(" \n",@{$lynis_report_data{'log_file'}})." | \n";
+ } else {
+ print OUT "\t\t\t\t\t\tlog file: | $lynis_report_data{'log_file'} | \n";
+ }
} else {
print OUT "\t\t\t\t\t\tlog file: | \n";
}
|