diff --git a/lynis_report.pl b/lynis_report.pl index 8399dfc..cda247c 100755 --- a/lynis_report.pl +++ b/lynis_report.pl @@ -344,7 +344,11 @@ END if ((exists($lynis_report_data{'deleted_file[]'})) and ($lynis_report_data{'deleted_file[]'} ne "")) { if (ref($lynis_report_data{'deleted_file[]'}) eq 'ARRAY') { print OUT "\t\t\t\t
deleted files (".scalar(@{$lynis_report_data{'deleted_file[]'}})."):
\n"; - print OUT "\t\t\t\t\n"; + } else { + print OUT "\t\t\t\t\n"; + if (scalar(@{$lynis_report_data{'plugin_processes_allprocesses'}}) < 10) { + print OUT "\t\t\t\t\t\t\n"; + } foreach my $p ( sort @{$lynis_report_data{'plugin_processes_allprocesses'}} ) { print OUT "\t\t\t\t\t\t