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

bisync: fix failing tests

Nick Craig-Woode5fd97b8d267
diff --git a/cmd/bisync/checkfn.go b/cmd/bisync/checkfn.go
index 6940abee9..bb3f91288 100644
--- a/cmd/bisync/checkfn.go
+++ b/cmd/bisync/checkfn.go
@@ -130,7 +130,7 @@ func DownloadCheckFn(ctx context.Context, dst, src fs.Object) (equal bool, noHas
if err != nil {
return true, true, fmt.Errorf("failed to download: %w", err)
}
- return equal, false, nil
+ return !equal, false, nil
}
// check potential conflicts (to avoid renaming if already identical)