forked from TrueCloudLab/restic
Don’t print too many messages when deleting files
Print detailed debug messages on file deletions only when --verbose=2 is used
This commit is contained in:
parent
14b312f00d
commit
009bd907f2
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ func deleteFiles(gopts GlobalOptions, ignoreError bool, repo restic.Repository,
|
|||
return err
|
||||
}
|
||||
}
|
||||
if !gopts.JSON && gopts.verbosity >= 2 {
|
||||
if !gopts.JSON && gopts.verbosity > 2 {
|
||||
Verbosef("removed %v\n", h)
|
||||
}
|
||||
bar.Report(restic.Stat{Blobs: 1})
|
||||
|
|
Loading…
Reference in a new issue