aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorWeihao Jiang <weihau.chiang@gmail.com>2025-05-23 23:21:46 +0800
committerGitHub <noreply@github.com>2025-05-23 08:21:46 -0700
commitea70d17c5f65ad2af58b5d181979cf644bd2827b (patch)
tree30483f2b5d6723aa07a8ce30c8ea51aefa038389 /weed/command/mount_std.go
parent2e1506c31e962b560924df44bfe10d89d7eea8f6 (diff)
downloadseaweedfs-ea70d17c5f65ad2af58b5d181979cf644bd2827b.tar.xz
seaweedfs-ea70d17c5f65ad2af58b5d181979cf644bd2827b.zip
Make fuse command linux/MacOS only (#6811)
Diffstat (limited to 'weed/command/mount_std.go')
-rw-r--r--weed/command/mount_std.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount_std.go b/weed/command/mount_std.go
index c419d5697..18eb6bcce 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -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