diff --git a/cmd/restic/cmd_prune.go b/cmd/restic/cmd_prune.go index 2d84f2e71..eb44e096b 100644 --- a/cmd/restic/cmd_prune.go +++ b/cmd/restic/cmd_prune.go @@ -295,6 +295,7 @@ func getUsedBlobs(gopts GlobalOptions, repo restic.Repository, snapshots []*rest bar := newProgressMax(!gopts.Quiet, uint64(len(snapshots)), "snapshots") bar.Start() + defer bar.Done() for _, sn := range snapshots { debug.Log("process snapshot %v", sn.ID())