From 1273c6f3d4542350792122dfe109d17253b85e4f Mon Sep 17 00:00:00 2001 From: Pauline Middelink Date: Sat, 4 Mar 2017 15:17:44 +0100 Subject: [PATCH] Display the proper amount of bytes we will be pruning from the repo. --- src/cmds/restic/cmd_prune.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cmds/restic/cmd_prune.go b/src/cmds/restic/cmd_prune.go index 1922f35ce..5583b2a15 100644 --- a/src/cmds/restic/cmd_prune.go +++ b/src/cmds/restic/cmd_prune.go @@ -184,7 +184,7 @@ func pruneRepository(gopts GlobalOptions, repo restic.Repository) error { } } - removeBytes := 0 + removeBytes := duplicateBytes // find packs that are unneeded removePacks := restic.NewIDSet()