2
2
mirror of https://github.com/octoleo/restic.git synced 2024-05-28 22:50:48 +00:00

Merge pull request #2957 from plumbeo/patch-3

Don’t print excessively detailed debug messages on object deletion when —verbose is used
This commit is contained in:
MichaelEischer 2020-09-27 22:08:07 +02:00 committed by GitHub
commit 94136132e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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})