summaryrefslogtreecommitdiff
path: root/mount.go
diff options
context:
space:
mode:
Diffstat (limited to 'mount.go')
-rw-r--r--mount.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/mount.go b/mount.go
index 803b09b..47dd192 100644
--- a/mount.go
+++ b/mount.go
@@ -185,9 +185,9 @@ func initFuseFrontend(key []byte, args *argContainer, confFile *configfile.ConfF
}
// Add additional mount options (if any) after the stock ones, so the user has
// a chance to override them.
- if args.o != "" {
- parts := strings.Split(args.o, ",")
- tlog.Debug.Printf("Adding -o mount options: %v", parts)
+ if args.ko != "" {
+ parts := strings.Split(args.ko, ",")
+ tlog.Debug.Printf("Adding -ko mount options: %v", parts)
mOpts.Options = append(mOpts.Options, parts...)
}
srv, err := fuse.NewServer(conn.RawFS(), args.mountpoint, &mOpts)