"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
rc: validate Daemon option is not set when mounting a volume via RC - fixes #6469
Isaac Aymerich3f804224f424
diff --git a/cmd/mountlib/rc.go b/cmd/mountlib/rc.goindex b675abda9..bde259c88 100644--- a/cmd/mountlib/rc.go+++ b/cmd/mountlib/rc.go@@ -97,6 +97,10 @@ func mountRc(ctx context.Context, in rc.Params) (out rc.Params, err error) {return nil, err}+ if mountOpt.Daemon {+ return nil, errors.New("Daemon Option not supported over the API")+ }+mountType, err := in.GetString("mountType")mountMu.Lock()