diff options
Diffstat (limited to 'input')
-rw-r--r-- | input/ipc-unix.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/input/ipc-unix.c b/input/ipc-unix.c index e4b98edfc9..f26e0cadde 100644 --- a/input/ipc-unix.c +++ b/input/ipc-unix.c @@ -78,12 +78,9 @@ static int ipc_write_str(struct client_arg *client, const char *buf) return 0; } - if (errno == EINTR) + if (errno == EINTR || errno == EAGAIN) continue; - if (errno == EAGAIN) - return 0; - return rc; } |