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

build: fix staticcheck lint errors with golangci-lint v1.60.1

Nick Craig-Wood1c80cbd13a81
diff --git a/cmd/mount/mount.go b/cmd/mount/mount.go
index 0cc9ae651..2431d5df4 100644
--- a/cmd/mount/mount.go
+++ b/cmd/mount/mount.go
@@ -5,7 +5,6 @@ package mount
import (
"fmt"
- "runtime"
"time"
"bazil.org/fuse"
@@ -70,9 +69,6 @@ func mountOptions(VFS *vfs.VFS, device string, opt *mountlib.Options) (options [
// report an error when fusermount is called.
func mount(VFS *vfs.VFS, mountpoint string, opt *mountlib.Options) (<-chan error, func() error, error) {
f := VFS.Fs()
- if runtime.GOOS == "darwin" {
- fs.Logf(nil, "macOS users: please try \"rclone cmount\" as it will be the default in v1.54")
- }
if err := mountlib.CheckOverlap(f, mountpoint); err != nil {
return nil, nil, err
}