From 4a297b35e5405e02e3e901991f25b0646f335343 Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Sun, 7 Jan 2024 11:24:04 +0000 Subject: [PATCH] Revert "mount: fix macOS not noticing errors with --daemon" Unfortunately this does not compile on all platforms and the fix is too big for the point release. This reverts commit 5a22dad9a732f3a14cdcfdd22252762a0f24f436. --- cmd/mountlib/mount.go | 8 -------- 1 file changed, 8 deletions(-) diff --git a/cmd/mountlib/mount.go b/cmd/mountlib/mount.go index 558a7b241..4bc9e066a 100644 --- a/cmd/mountlib/mount.go +++ b/cmd/mountlib/mount.go @@ -10,7 +10,6 @@ import ( "runtime" "strings" "sync" - "syscall" "time" "github.com/rclone/rclone/cmd" @@ -223,13 +222,6 @@ func NewMountCommand(commandName string, hidden bool, mount MountFn) *cobra.Comm err = WaitMountReady(mnt.MountPoint, Opt.DaemonWait) if err != nil { killDaemon("Daemon timed out") - } else { - // Double check daemon is still alive - // on non Linux OSes WaitMountReady is just a no-op - err = daemon.Signal(syscall.Signal(0)) - if err != nil { - err = fmt.Errorf("daemon has died: %w", err) - } } atexit.Unregister(handle) }