We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4714f83 + a798f77 commit 5806f25Copy full SHA for 5806f25
errors.go
@@ -92,7 +92,7 @@ func AsErrno(err error) Errno {
92
}
93
94
func (ctx *Context) retry(err error) bool {
95
- if !ctx.retryEINTR || err == nil {
+ if ctx == nil || !ctx.retryEINTR || err == nil {
96
return false
97
98
eno, ok := err.(syscall.Errno)
0 commit comments