Fix a typo in check_backuppc_sudo

tags/zabbix-agent-addons-0.2.71-1
Daniel Berteaud 6 years ago
parent 8cd2c874c7
commit 58a1442b67
  1. 2
      zabbix_scripts/check_backuppc_sudo

@ -85,7 +85,7 @@ if ( $host ) {
my $freq = ( $conf->{FullPeriod} > $conf->{IncrPeriod} ) ? $conf->{IncrPeriod} : $conf->{FullPeriod}; my $freq = ( $conf->{FullPeriod} > $conf->{IncrPeriod} ) ? $conf->{IncrPeriod} : $conf->{FullPeriod};
my $duration = 0; my $duration = 0;
my $bkp_num = 0; my $bkp_num = 0;
my $new_size_of_last_full = 0 my $new_size_of_last_full = 0;
foreach my $backup ( $bpc->BackupInfoRead( $host ) ) { foreach my $backup ( $bpc->BackupInfoRead( $host ) ) {
next if ( $backup->{type} !~ m/^full|incr$/ ); next if ( $backup->{type} !~ m/^full|incr$/ );

Loading…
Cancel
Save