mirror of
https://github.com/rclone/rclone.git
synced 2024-12-23 15:38:57 +01:00
870c58f7f8
If md5sum/sha1sum fails we debug what it outputed on stderr and return an empty hash indicating we didn't have a hash, rather than hash.ErrUnsupported indicating that we don't support this hash type. This fixes lots of ERROR messages for sftp and synology NAS which, while it supports md5sum the SFTP paths and the SSH paths are different so md5sum doesn't work. We also stop disabling md5sum/sha1sum on errors since typically Hashes is only checked at the start of a sync run and isn't expected to change dynamically. |
||
---|---|---|
.. | ||
sftp_internal_test.go | ||
sftp_test.go | ||
sftp_unsupported.go | ||
sftp.go | ||
stringlock_test.go | ||
stringlock.go |