minor tweaks

This commit is contained in:
dataking 2018-12-14 15:45:28 -08:00
parent 8be83cb75b
commit 082e5c736a

View File

@ -499,6 +499,8 @@ if ($json) {
my ($sugg_id,$sugg_desc,$sugg_sev,$sugg_f4) = split(/\|/, $sugg);
push @table_data, [$sugg_id,$sugg_desc,$sugg_sev,$sugg_f4];
}
} else {
die(colored("\$lynis_report_data{'suggestion[]'}[0] does not contain a pipe (|).", "red"));
}
%params = (
'data' => \@table_data,