aboutgitcodebugslistschat
diff options
context:
space:
mode:
-rw-r--r--tap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap.c b/tap.c
index d418961..cf87591 100644
--- a/tap.c
+++ b/tap.c
@@ -1329,7 +1329,7 @@ static void tap_pasta_input(struct ctx *c, const struct timespec *now)
continue;
}
- if (errno == EAGAIN && errno == EWOULDBLOCK)
+ if (errno == EAGAIN || errno == EWOULDBLOCK)
break; /* all done for now */
die("Error on tap device, exiting");