Skip to content

"rsync for cloud storage" - Google Drive, S3, Dropbox, Backblaze B2, One Drive, Swift, Hubic, Wasabi, Google Cloud Storage, Azure Blob, Azure Files, Yandex Files

operations: fix error message on delete to have file name - fixes #7355

Nick Craig-Wood2de084944b75
diff --git a/fs/operations/operations.go b/fs/operations/operations.go
index 262f9fedd..318cd6765 100644
--- a/fs/operations/operations.go
+++ b/fs/operations/operations.go
@@ -772,7 +772,7 @@ func DeleteFilesWithBackupDir(ctx context.Context, toBeDeleted fs.ObjectsChan, b
if err != nil {
errorCount.Add(1)
if fserrors.IsFatalError(err) {
- fs.Errorf(nil, "Got fatal error on delete: %s", err)
+ fs.Errorf(dst, "Got fatal error on delete: %s", err)
fatalErrorCount.Add(1)
return
}