syscall.Errno(0x5) == syscall.EIO
Signed-off-by: Cory Bennett <cbennett@netflix.com>v0.8
parent
cb12a5642f
commit
74db85d357
|
@ -113,7 +113,7 @@ func (w *runcExecutor) callWithIO(ctx context.Context, id, bundle string, proces
|
|||
if errors.As(err, &ptmClosedError) {
|
||||
if ptmClosedError.Op == "read" &&
|
||||
ptmClosedError.Path == "/dev/ptmx" &&
|
||||
ptmClosedError.Err == syscall.Errno(0x5) {
|
||||
ptmClosedError.Err == syscall.EIO {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue