aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
Diffstat (limited to 'weed')
-rw-r--r--weed/command/fuse.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/fuse.go b/weed/command/fuse.go
index 9832b4f72..a5461a7f8 100644
--- a/weed/command/fuse.go
+++ b/weed/command/fuse.go
@@ -227,7 +227,7 @@ func runFuse(cmd *Command, args []string) bool {
argv := append(os.Args, "-o", "child="+strconv.Itoa(pid))
c := make(chan os.Signal, 1)
- signal.Notify(c, syscall.SIGUSR1)
+ signal.Notify(c, syscall.SIGTERM)
attr := os.ProcAttr{}
attr.Env = os.Environ()