master
Heuzef 5 years ago
parent a74b73ce25
commit 3f72ede85b
  1. 4
      Check.pm

@ -36,9 +36,10 @@ sub action
# Start loop # Start loop
foreach my $host ( GetUserHosts(1) ) { foreach my $host ( GetUserHosts(1) ) {
my($bpc,$incrCnt, $incrAge, $reasonHilite, my($incrCnt, $incrAge, $reasonHilite,
$lastAge, $lastAgeColor, $tempState, $tempReason, $lastXferErrors, $lastXferErrorsColor); $lastAge, $lastAgeColor, $tempState, $tempReason, $lastXferErrors, $lastXferErrorsColor);
my($shortErr); my($shortErr);
my $bpc = BackupPC::Lib->new();
my @Backups = $bpc->BackupInfoRead($host); my @Backups = $bpc->BackupInfoRead($host);
my $fullCnt = $incrCnt = 0; my $fullCnt = $incrCnt = 0;
my $fullAge = $incrAge = $lastAge = -1; my $fullAge = $incrAge = $lastAge = -1;
@ -134,7 +135,6 @@ sub action
} }
# Check Size Consistency # Check Size Consistency
my $bpc = BackupPC::Lib->new();
my $mainConf = $bpc->ConfigDataRead(); my $mainConf = $bpc->ConfigDataRead();
my $check = {}; my $check = {};

Loading…
Cancel
Save