mirror of
https://github.com/restic/restic.git
synced 2025-11-16 08:23:14 +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:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user