mirror of
https://github.com/restic/restic.git
synced 2024-12-27 10:17:58 +00:00
prune: Stop progress bar after searching used blobs
This commit is contained in:
parent
66d089e239
commit
04f79b9642
1 changed files with 1 additions and 0 deletions
|
@ -295,6 +295,7 @@ func getUsedBlobs(gopts GlobalOptions, repo restic.Repository, snapshots []*rest
|
||||||
|
|
||||||
bar := newProgressMax(!gopts.Quiet, uint64(len(snapshots)), "snapshots")
|
bar := newProgressMax(!gopts.Quiet, uint64(len(snapshots)), "snapshots")
|
||||||
bar.Start()
|
bar.Start()
|
||||||
|
defer bar.Done()
|
||||||
for _, sn := range snapshots {
|
for _, sn := range snapshots {
|
||||||
debug.Log("process snapshot %v", sn.ID())
|
debug.Log("process snapshot %v", sn.ID())
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue