mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
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
@ -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 New Issue
Block a user