mirror of
https://github.com/rclone/rclone
synced 2025-02-27 22:33:05 +01:00
Make check obey --ignore-size - fixes #1643
This commit is contained in:
parent
8207af9460
commit
cbea06026a
@ -849,7 +849,7 @@ func CheckFn(fdst, fsrc Fs, checkFunction func(a, b Object) (differ bool, noHash
|
||||
checkIdentical := func(dst, src Object) (differ bool, noHash bool) {
|
||||
Stats.Checking(src.Remote())
|
||||
defer Stats.DoneChecking(src.Remote())
|
||||
if src.Size() != dst.Size() {
|
||||
if !Config.IgnoreSize && src.Size() != dst.Size() {
|
||||
Stats.Error()
|
||||
Errorf(src, "Sizes differ")
|
||||
return true, false
|
||||
|
Loading…
x
Reference in New Issue
Block a user