diff --git a/internal/errors.go b/internal/errors.go index aab5819..92c2d7c 100644 --- a/internal/errors.go +++ b/internal/errors.go @@ -31,6 +31,8 @@ func ExtractErrno(err error) linux.Errno { return ExtractErrno(e.Err) case *os.SyscallError: return ExtractErrno(e.Err) + case *os.LinkError: + return ExtractErrno(e.Err) } if e := sysErrno(err); e != 0 {