"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
mount: Fix mount breaking on Windows - fixes #1827
ishuah31d2fb4e11b7
diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.goindex d39e6c132..1f801d2bb 100644--- a/cmd/mountlib/mount.go+++ b/cmd/mountlib/mount.go@@ -4,6 +4,7 @@ import ("io""log""os"+ "runtime""github.com/ncw/rclone/cmd""github.com/ncw/rclone/fs"@@ -166,7 +167,9 @@ like this:defer close(stopStats)}- if !AllowNonEmpty {+ // Skip checkMountEmpty if --allow-non-empty flag is used or if+ // the Operating System is Windows+ if !AllowNonEmpty && runtime.GOOS != "windows" {err := checkMountEmpty(args[1])if err != nil {log.Fatalf("Fatal error: %v", err)