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 // find packs that are unneeded
removePacks := restic.NewIDSet() removePacks := restic.NewIDSet()