fix output service status skip

This commit is contained in:
garnier-quentin 2020-06-16 18:04:42 +02:00
parent 7abeb15461
commit 09f5db5301
1 changed files with 2 additions and 2 deletions

View File

@ -124,7 +124,7 @@ sub manage_selection {
foreach my $task_id (keys %{$results->{$service_id}}) {
if (defined($self->{option_results}->{filter_service_name}) && $self->{option_results}->{filter_service_name} ne '' &&
$results->{$service_id}->{$task_id}->{service_name} !~ /$self->{option_results}->{filter_service_name}/) {
$self->{output}->output_add(long_msg => "skipping service '" . $task_id->{service_name} . "': no matching filter type.", debug => 1);
$self->{output}->output_add(long_msg => "skipping service '" . $results->{$service_id}->{$task_id}->{service_name} . "': no matching filter type.", debug => 1);
next;
}