mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-10-24 06:50:40 +02:00
Make fuse command linux/MacOS only (#6811)
This commit is contained in:
1 parent
2e1506c31e
commit
ea70d17c5f
4 files changed
+280
-261
No files matched your search
@@ -271,7 +271,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
|
||||
|
||||
if mountOptions.fuseCommandPid != 0 {
|
||||
// send a signal to the parent process to notify that the mount is ready
|
||||
err = syscall.Kill(mountOptions.fuseCommandPid, syscall.SIGUSR1)
|
||||
err = syscall.Kill(mountOptions.fuseCommandPid, syscall.SIGTERM)
|
||||
if err != nil {
|
||||
fmt.Printf("failed to notify parent process: %v\n", err)
|
||||
return false
|
||||
|
||||
Reference in new issue
Block a user