diff --git a/src/fuse_open.cpp b/src/fuse_open.cpp index 0f03d24d..1f6fd706 100644 --- a/src/fuse_open.cpp +++ b/src/fuse_open.cpp @@ -324,7 +324,8 @@ namespace FUSE proc_filepath = fmt::format("/proc/self/fd/{}",ffi_->fd); fd = fs::open(proc_filepath,ffi_->flags); - + if(fd == -1) + return -errno; }