1
0
Fork 0
mirror of https://github.com/restic/restic.git synced 2024-12-24 08:44:52 +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()