diff options
Diffstat (limited to 'input/ipc-unix.c')
-rw-r--r-- | input/ipc-unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/ipc-unix.c b/input/ipc-unix.c index ff8327b178..a9cb66e2c6 100644 --- a/input/ipc-unix.c +++ b/input/ipc-unix.c @@ -73,7 +73,7 @@ static int ipc_write_str(struct client_arg *client, const char *buf) if (rc == 0) return -1; - if (errno == EBADF) { + if (errno == EBADF || errno == ENOTSOCK) { client->writable = false; return 0; } |