Merge pull request #847 from middelink/fix-846

Display the proper amount of bytes we will be pruning from the repo.
This commit is contained in:
Alexander Neumann 2017-03-04 16:47:20 +01:00
commit becc34a159
1 changed files with 1 additions and 1 deletions

View File

@ -184,7 +184,7 @@ func pruneRepository(gopts GlobalOptions, repo restic.Repository) error {
}
}
removeBytes := 0
removeBytes := duplicateBytes
// find packs that are unneeded
removePacks := restic.NewIDSet()