"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
mounttest: fix crash when FUSE not present
Nick Craig-Woodb21f227bd3b3
diff --git a/cmd/mountlib/mounttest/fs.go b/cmd/mountlib/mounttest/fs.goindex dd79410d4..cf6489e65 100644--- a/cmd/mountlib/mounttest/fs.go+++ b/cmd/mountlib/mounttest/fs.go@@ -131,10 +131,11 @@ func (r *Run) mount() {var err errorr.vfs, r.umountResult, r.umountFn, err = mountFn(r.fremote, r.mountPath)if err != nil {- log.Printf("mount failed: %v", err)+ log.Printf("mount FAILED: %v", err)r.skip = true+ } else {+ log.Printf("mount OK")}- log.Printf("mount OK")}func (r *Run) umount() {@@ -174,6 +175,10 @@ func (r *Run) umount() {// cacheMode flushes the VFS and changes the CacheModefunc (r *Run) cacheMode(cacheMode vfs.CacheMode) {+ if r.skip {+ log.Printf("FUSE not found so skipping cacheMode")+ return+ }// Wait for writers to finishr.vfs.WaitForWriters(30 * time.Second)// Empty and remake the remote