mirror of
https://github.com/octoleo/restic.git
synced 2024-12-23 19:38:57 +00:00
prune: Fix progress information
This commit is contained in:
parent
eadf5dcb2d
commit
c5f1a83cb4
@ -49,7 +49,7 @@ func rebuildIndex(ctx context.Context, repo restic.Repository, ignorePacks resti
|
|||||||
packs++
|
packs++
|
||||||
}
|
}
|
||||||
|
|
||||||
bar := newProgressMax(!globalOptions.Quiet, packs, "packs")
|
bar := newProgressMax(!globalOptions.Quiet, packs-uint64(len(ignorePacks)), "packs")
|
||||||
idx, err := index.New(ctx, repo, ignorePacks, bar)
|
idx, err := index.New(ctx, repo, ignorePacks, bar)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
|
Loading…
Reference in New Issue
Block a user