aboutsummaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/mount.go b/mount.go
index e8fa720..c2fd621 100644
--- a/mount.go
+++ b/mount.go
@@ -357,6 +357,7 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server {
// the kernel to limit the size explicitly.
MaxWrite: fuse.MAX_KERNEL_WRITE,
Options: []string{fmt.Sprintf("max_read=%d", fuse.MAX_KERNEL_WRITE)},
+ Debug: args.fusedebug,
}
mOpts := &fuseOpts.MountOptions
@@ -437,7 +438,6 @@ func initGoFuse(rootNode fs.InodeEmbedder, args *argContainer) *fuse.Server {
}
os.Exit(exitcodes.FuseNewServer)
}
- srv.SetDebug(args.fusedebug)
// All FUSE file and directory create calls carry explicit permission
// information. We need an unrestricted umask to create the files and