2
2
mirror of https://github.com/octoleo/restic.git synced 2024-11-04 20:37:49 +00:00

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

View File

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