Skip to content

Commit

Permalink
Fix pt_verify_checksum to exclude corrupted files from number of vali…
Browse files Browse the repository at this point in the history
…d files.
  • Loading branch information
snaga committed Feb 2, 2018
1 parent 6c8db3f commit 1d35d53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion postgres_toolkit/pt_verify_checksum.py
Expand Up @@ -119,7 +119,7 @@ def verify(self):

log.info(("%d verified (%d valid, %d corrupted, %d disabled/error). "
"%d skipped.") %
(count, count - error, corrupted, error, skipped))
(count, count - error - corrupted, corrupted, error, skipped))

if corrupted == 0:
return True
Expand Down

0 comments on commit 1d35d53

Please sign in to comment.