minor tweaks
This commit is contained in:
parent
8be83cb75b
commit
082e5c736a
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user