1
0
mirror of https://github.com/rclone/rclone.git synced 2026-02-25 17:03:21 +00:00

check: fix difference report (was reporting error counts)

This commit is contained in:
albertony
2025-07-07 09:16:55 +02:00
committed by Nick Craig-Wood
parent ac54cccced
commit e319406f52

View File

@@ -249,7 +249,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)
}