Browse Source

match upstream

pull/1764/head
Daniel Santos 4 years ago
parent
commit
d38613c49a
  1. 4
      weed/command/mount_std.go

4
weed/command/mount_std.go

@ -208,7 +208,9 @@ func RunMount(option *MountOptions, umask os.FileMode) bool {
}) })
glog.V(0).Infof("mounted %s%s to %s", filer, mountRoot, dir) glog.V(0).Infof("mounted %s%s to %s", filer, mountRoot, dir)
err = fs.Serve(c, seaweedFileSystem)
server := fs.New(c, nil)
seaweedFileSystem.Server = server
err = server.Serve(seaweedFileSystem)
// check if the mount process has an error to report // check if the mount process has an error to report
<-c.Ready <-c.Ready

Loading…
Cancel
Save