diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 742e0bfd..0bfae741 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -310,7 +310,9 @@ namespace FUSE case _(PassthroughEnum::rw,O_RDONLY): case _(PassthroughEnum::rw,O_WRONLY): case _(PassthroughEnum::rw,O_RDWR): - return l::passthrough(fc,ffi_); + rv = l::passthrough(fc,ffi_); + cfg->passthrough = PassthroughEnum::off; + break; } return rv;