diff options
Diffstat (limited to 'lib/net.c')
-rw-r--r-- | lib/net.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -49,6 +49,7 @@ int xpoll(struct pollfd *fds, int nfds, int timeout) for (;;) { if (0>(i = poll(fds, nfds, timeout))) { + if (toys.signal) return i; if (errno != EINTR && errno != ENOMEM) perror_exit("xpoll"); else if (timeout>0) timeout--; } else return i; |