diff options
Diffstat (limited to 'internal/fusefrontend/node_prepare_syscall.go')
-rw-r--r-- | internal/fusefrontend/node_prepare_syscall.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/fusefrontend/node_prepare_syscall.go b/internal/fusefrontend/node_prepare_syscall.go index 283096f..0894379 100644 --- a/internal/fusefrontend/node_prepare_syscall.go +++ b/internal/fusefrontend/node_prepare_syscall.go @@ -66,6 +66,9 @@ func (n *Node) prepareAtSyscall(child string) (dirfd int, cName string, errno sy defer syscall.Close(parentDirfd) dirfd, err := syscallcompat.Openat(parentDirfd, myCName, syscall.O_NOFOLLOW|syscall.O_DIRECTORY|syscallcompat.O_PATH, 0) + if err != nil { + return -1, "", fs.ToErrno(err) + } // Cache store if !rn.args.PlaintextNames { |