"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
operations: fix call fmt.Errorf with wrong err
alingse6fb0de62a4e1
diff --git a/fs/operations/multithread.go b/fs/operations/multithread.goindex 4f27d6b43..d6753eb14 100644--- a/fs/operations/multithread.go+++ b/fs/operations/multithread.go@@ -312,8 +312,8 @@ func (w *writerAtChunkWriter) WriteChunk(ctx context.Context, chunkNumber int, r// if we were buffering, flush to diskswitch w := writer.(type) {case *bufio.Writer:- er2 := w.Flush()- if er2 != nil {+ err = w.Flush()+ if err != nil {return -1, fmt.Errorf("multi-thread copy: flush failed: %w", err)}}