mirror of
https://github.com/rclone/rclone.git
synced 2025-01-08 12:34:53 +02:00
check: report differences and error counts separately
This commit is contained in:
parent
6e4dd2ab96
commit
8152aa21c7
@ -247,7 +247,7 @@ func (c *checkMarch) reportResults(ctx context.Context, err error) error {
|
||||
fs.Logf(c.opt.Fsrc, "%d %s missing", c.srcFilesMissing.Load(), entity)
|
||||
}
|
||||
|
||||
fs.Logf(c.opt.Fdst, "%d differences found", accounting.Stats(ctx).GetErrors())
|
||||
fs.Logf(c.opt.Fdst, "%d differences found", c.differences.Load())
|
||||
if errs := accounting.Stats(ctx).GetErrors(); errs > 0 {
|
||||
fs.Logf(c.opt.Fdst, "%d errors while checking", errs)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user