diff --git a/backuppc_check.pl b/backuppc_check.pl index 156bc44..3b6591a 100644 --- a/backuppc_check.pl +++ b/backuppc_check.pl @@ -78,14 +78,7 @@ if ( $host ) { $lastAge = sprintf("%.1f", ($json->{age}) / 84600); $json->{max_errors} = $conf->{MaxXferError} || 0; } -} elsif ( $entity ) { - - $json = { - perf => 0, - size => 0, - hosts => 0, - bkp => 0 - }; +} my $total_new = 0; my $total_comp = 0;