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 retryable without --resync error message when --resync has a critical failure

Gustavo V. F.9f89102a574c
diff --git a/cmd/bisync/operations.go b/cmd/bisync/operations.go
index e99ead6f8..a7f648995 100644
--- a/cmd/bisync/operations.go
+++ b/cmd/bisync/operations.go
@@ -196,7 +196,7 @@ func Bisync(ctx context.Context, fs1, fs2 fs.Fs, optArg *Options) (err error) {
}
if b.critical {
- if b.retryable && b.opt.Resilient {
+ if b.retryable && b.opt.Resilient && !b.opt.Resync {
fs.Errorf(nil, Color(terminal.RedFg, "Bisync critical error: %v"), err)
fs.Error(nil, Color(terminal.YellowFg, "Bisync aborted. Error is retryable without --resync due to --resilient mode."))
} else {