diff --git a/host/generic/interrupt.go b/host/generic/interrupt.go index 7f9b766..52ca213 100644 --- a/host/generic/interrupt.go +++ b/host/generic/interrupt.go @@ -58,6 +58,9 @@ func initEpollListener() *epollListener { for { n, err := syscall.EpollWait(listener.fd, epollEvents[:], -1) + if err == syscall.EINTR { + continue + } if err != nil { panic(fmt.Sprintf("EpollWait error: %v", err)) }