aboutsummaryrefslogtreecommitdiff
path: root/weed/command/mount2_std.go
diff options
context:
space:
mode:
Diffstat (limited to 'weed/command/mount2_std.go')
-rw-r--r--weed/command/mount2_std.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/mount2_std.go b/weed/command/mount2_std.go
index 2d3c0dfb4..0cb288c3b 100644
--- a/weed/command/mount2_std.go
+++ b/weed/command/mount2_std.go
@@ -207,7 +207,7 @@ func RunMount2(option *Mount2Options, umask os.FileMode) bool {
UidGidMapper: uidGidMapper,
})
- server, err := fs.Mount(dir, seaweedFileSystem, opts)
+ server, err := fs.Mount(dir, seaweedFileSystem.Root(), opts)
if err != nil {
glog.Fatalf("Mount fail: %v", err)
}