aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
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