aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mount.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/mount.go b/mount.go
index 5aa0168..4b4192e 100644
--- a/mount.go
+++ b/mount.go
@@ -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: