aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2017-06-22 01:33:58 -0700
committerChris Lu <chris.lu@gmail.com>2017-06-22 01:33:58 -0700
commit1fbb8723dc414dc9b84bbaf84224b6f5829d34de (patch)
tree4e07b790133975429710cdb80b9d34438e5d5fc6 /weed/command/mount_std.go
parent2c7dad589dcb7ed513180eb4a743e389f8134a73 (diff)
downloadseaweedfs-1fbb8723dc414dc9b84bbaf84224b6f5829d34de.tar.xz
seaweedfs-1fbb8723dc414dc9b84bbaf84224b6f5829d34de.zip
add cpu and mem pprof
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 a87068675..0c36e488f 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -31,7 +31,7 @@ func runMount(cmd *Command, args []string) bool {
return false
}
- OnInterrupt(func() {
+ util.OnInterrupt(func() {
fuse.Unmount(*mountOptions.dir)
c.Close()
})