2
2
mirror of https://github.com/octoleo/restic.git synced 2024-06-10 12:52:21 +00:00

Display the proper amount of bytes we will be pruning from the repo.

This commit is contained in:
Pauline Middelink 2017-03-04 15:17:44 +01:00
parent 90bc187355
commit 1273c6f3d4

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()