forked from TrueCloudLab/rclone
Don't check md5sum after download with --size-only - fixes #75
This commit is contained in:
parent
e04acb09ce
commit
97dced6a0b
1 changed files with 15 additions and 13 deletions
|
@ -193,6 +193,7 @@ tryAgain:
|
||||||
}
|
}
|
||||||
|
|
||||||
// Verify md5sums are the same after transfer - ignoring blank md5sums
|
// Verify md5sums are the same after transfer - ignoring blank md5sums
|
||||||
|
if !Config.SizeOnly {
|
||||||
srcMd5sum, md5sumErr := src.Md5sum()
|
srcMd5sum, md5sumErr := src.Md5sum()
|
||||||
if md5sumErr != nil {
|
if md5sumErr != nil {
|
||||||
Stats.Error()
|
Stats.Error()
|
||||||
|
@ -210,6 +211,7 @@ tryAgain:
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
Debug(src, actionTaken)
|
Debug(src, actionTaken)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue