aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount_std.go
diff options
context:
space:
mode:
authorRyan Russell <ryanrussell@users.noreply.github.com>2022-09-14 11:14:44 -0500
committerGitHub <noreply@github.com>2022-09-14 09:14:44 -0700
commit19652c1b83d3b26355a820988fce977c99173c60 (patch)
tree3e00a6862d94a68924ded0792fabb2b69faf1068 /weed/command/mount_std.go
parentb6a1b84a00186c3e1b30bc3f2717fc7005daca62 (diff)
downloadseaweedfs-19652c1b83d3b26355a820988fce977c99173c60.tar.xz
seaweedfs-19652c1b83d3b26355a820988fce977c99173c60.zip
refactor(socket mount): Update socket mount pattern to `/tmp/seaweedf… (#3662)
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 a39d88cce..5226e708b 100644
--- a/weed/command/mount_std.go
+++ b/weed/command/mount_std.go
@@ -107,7 +107,7 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
if mountDirHash < 0 {
mountDirHash = -mountDirHash
}
- *option.localSocket = fmt.Sprintf("/tmp/seaweefs-mount-%d.sock", mountDirHash)
+ *option.localSocket = fmt.Sprintf("/tmp/seaweedfs-mount-%d.sock", mountDirHash)
}
if err := os.Remove(*option.localSocket); err != nil && !os.IsNotExist(err) {
glog.Fatalf("Failed to remove %s, error: %s", *option.localSocket, err.Error())