diff options
| author | Jakob Unterwurzacher | 2020-07-08 22:21:27 +0200 |
|---|---|---|
| committer | Jakob Unterwurzacher | 2020-07-08 22:21:27 +0200 |
| commit | a39fc8ab2e559113f23d64ff87d59842317bbb8c (patch) | |
| tree | 17b9f0d3041d6905662f95bd57711dce217ca293 | |
| parent | 40a31e0c325396d3c515032ad5f87299f297e204 (diff) | |
v2api: fix crash on umount
fs.Mount already called srv.Serve() for us.
| -rw-r--r-- | mount.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -165,8 +165,8 @@ func doMount(args *argContainer) { fwdFs := fs.(*fusefrontend.RootNode) go idleMonitor(args.idle, fwdFs, srv, args.mountpoint) } - // Jump into server loop. Returns when it gets an umount request from the kernel. - srv.Serve() + // Wait for unmount. + srv.Wait() } // Based on the EncFS idle monitor: |
