From 2b4687a46bffc0999f1d5730397c13daba6ae4a9 Mon Sep 17 00:00:00 2001 From: Dean Deng Date: Thu, 9 Apr 2020 11:15:42 -0700 Subject: Handle os.LinkError in p9/handlers.go. PiperOrigin-RevId: 305721329 --- pkg/p9/handlers.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg') diff --git a/pkg/p9/handlers.go b/pkg/p9/handlers.go index a8b714cf5..1db5797dd 100644 --- a/pkg/p9/handlers.go +++ b/pkg/p9/handlers.go @@ -48,6 +48,8 @@ func ExtractErrno(err error) syscall.Errno { return ExtractErrno(e.Err) case *os.SyscallError: return ExtractErrno(e.Err) + case *os.LinkError: + return ExtractErrno(e.Err) } // Default case. -- cgit v1.2.3