mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 23:49:15 +01:00
accounting: fix error count shown as checks - fixes #3814
This commit is contained in:
parent
0ecb8bc2f9
commit
59c75ba442
@ -320,7 +320,7 @@ func (s *StatsInfo) String() string {
|
|||||||
}
|
}
|
||||||
if s.checks != 0 || totalChecks != 0 {
|
if s.checks != 0 || totalChecks != 0 {
|
||||||
_, _ = fmt.Fprintf(buf, "Checks: %10d / %d, %s\n",
|
_, _ = fmt.Fprintf(buf, "Checks: %10d / %d, %s\n",
|
||||||
s.errors, totalChecks, percent(s.checks, totalChecks))
|
s.checks, totalChecks, percent(s.checks, totalChecks))
|
||||||
}
|
}
|
||||||
if s.deletes != 0 {
|
if s.deletes != 0 {
|
||||||
_, _ = fmt.Fprintf(buf, "Deleted: %10d\n", s.deletes)
|
_, _ = fmt.Fprintf(buf, "Deleted: %10d\n", s.deletes)
|
||||||
|
Loading…
Reference in New Issue
Block a user