mirror of
https://github.com/restic/restic.git
synced 2026-05-31 22:29:43 +00:00
prune: Don't show "packs processed" for quiet runs
This commit is contained in:
@@ -473,7 +473,7 @@ func decidePackAction(ctx context.Context, opts PruneOptions, repo restic.Reposi
|
||||
}
|
||||
|
||||
// loop over all packs and decide what to do
|
||||
bar := newProgressMax(quiet, uint64(len(indexPack)), "packs processed")
|
||||
bar := newProgressMax(!quiet, uint64(len(indexPack)), "packs processed")
|
||||
err := repo.List(ctx, restic.PackFile, func(id restic.ID, packSize int64) error {
|
||||
p, ok := indexPack[id]
|
||||
if !ok {
|
||||
|
||||
Reference in New Issue
Block a user