From b3a526814e8eb0433e9328df33384623548dbe03 Mon Sep 17 00:00:00 2001 From: Hisham Zarka Date: Sat, 18 Feb 2017 13:13:53 +0400 Subject: [PATCH] fix --ignore-checksum --- fs/operations.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/operations.go b/fs/operations.go index f91398039..a856e6f82 100644 --- a/fs/operations.go +++ b/fs/operations.go @@ -336,7 +336,7 @@ func Copy(f Fs, dst Object, remote string, src Object) (err error) { if err != nil { Stats.Error() Errorf(dst, "Failed to read hash: %v", err) - } else if !Config.IgnoreSize && !HashEquals(srcSum, dstSum) { + } else if !Config.IgnoreChecksum && !HashEquals(srcSum, dstSum) { Stats.Error() err = errors.Errorf("corrupted on transfer: %v hash differ %q vs %q", hashType, srcSum, dstSum) Errorf(dst, "%v", err)