Avoid empty references
This commit is contained in:
parent
bcb969c3af
commit
f9c3d480ca
|
@ -1311,6 +1311,8 @@ sub PandoraFMS::Recon::Base::report_scanned_agents($;$) {
|
|||
my ($progress, $step) = (90, 10.0 / scalar(@hosts)); # From 90% to 100%.
|
||||
|
||||
foreach my $addr (keys %{$self->{'agents_found'}}) {
|
||||
next if is_empty($addr);
|
||||
|
||||
my $label = $self->{'agents_found'}->{$addr}{'agent'}{'nombre'};
|
||||
|
||||
$self->call('update_progress', $progress);
|
||||
|
|
Loading…
Reference in New Issue