summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--input/ipc-unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input/ipc-unix.c b/input/ipc-unix.c
index b237efa1a0..abef0972d9 100644
--- a/input/ipc-unix.c
+++ b/input/ipc-unix.c
@@ -163,7 +163,7 @@ static void *client_thread(void *p)
}
}
- if (fds[1].revents & (POLLIN | POLLHUP)) {
+ if (fds[1].revents & (POLLIN | POLLHUP | POLLNVAL)) {
while (1) {
char buf[128];
bstr append = { buf, 0 };