"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files
Go azure-blobazure-blob-storageazure-filesbackblaze-b2cloud-storagedropboxencryptionftpfuse-filesystemgogolanggoogle-cloud-storagegoogle-driveonedriveopenstack-swiftrclones3sftpsyncwebdav
check: Fix misleading message which printed errors instead of differences
Nick Craig-Wood7c4ba9fcb2e4
diff --git a/fs/operations/operations.go b/fs/operations/operations.goindex 18f238947..8050e823e 100644--- a/fs/operations/operations.go+++ b/fs/operations/operations.go@@ -915,7 +915,10 @@ func CheckFn(ctx context.Context, fdst, fsrc fs.Fs, check checkFn, oneway bool)fs.Logf(fsrc, "%d files missing", c.srcFilesMissing)}- fs.Logf(fdst, "%d differences found", accounting.Stats(ctx).GetErrors())+ fs.Logf(fdst, "%d differences found", c.differences)+ if errs := accounting.Stats(ctx).GetErrors(); errs > 0 {+ fs.Logf(fdst, "%d errors while checking", errs)+ }if c.noHashes > 0 {fs.Logf(fdst, "%d hashes could not be checked", c.noHashes)}