Minor errata fix

This commit is contained in:
fbsanchez 2019-07-11 12:01:19 +02:00
parent cab4a6dc03
commit 467ee5fb8f
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ sub data_consumer ($$) {
my %cnf_extra;
my $r = enterprise_hook('discovery_generate_extra_cnf',[$pa_config, $dbh, $task, \%cnf_extra]);
if (isset($r) && $r eq 'ERR') {
if (defined($r) && $r eq 'ERR') {
# Could not generate extra cnf, skip this task.
return;
}