diff --git a/check_size_consistency.pl b/check_size_consistency.pl index 210cf4d..b7abee0 100644 --- a/check_size_consistency.pl +++ b/check_size_consistency.pl @@ -30,7 +30,7 @@ for ( my $i = 0 ; $i < @backups ; $i++ ) { $fullCnt++; if ( $fullAge < 0 || $backups[$i]{startTime} > $fullAge ) { $fullAge = $backups[$i]{startTime}; - $fullSize0 = $backups[$i]{size}; + $fullSize = $backups[$i]{size}; $fullDur = $backups[$i]{endTime} - $backups[$i]{startTime}; } } @@ -59,7 +59,7 @@ $maxErrors = $conf->{MaxXferError} if (defined $conf->{MaxXferError}); print<<"EOF"; -Full Size of last backup : $fullSize0 +Full Size of last backup : $fullSize EOF exit(0);