aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2014-10-02 09:47:00 +0100
committerNicholas Marriott <nicholas.marriott@gmail.com>2014-10-02 09:47:00 +0100
commitb6aef2490f086f3404f439308bb1746ec5134e9a (patch)
tree91f94d2e88282426f5c8b023243eb4f1ba48333d
parent931c17ed4f3ac18470f5b385210d61b24a57b5d4 (diff)
downloadrtmux-b6aef2490f086f3404f439308bb1746ec5134e9a.tar.gz
rtmux-b6aef2490f086f3404f439308bb1746ec5134e9a.tar.bz2
rtmux-b6aef2490f086f3404f439308bb1746ec5134e9a.zip
Ignore ENXIO on Solaris as well, from Peter Schow.
-rw-r--r--server-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server-client.c b/server-client.c
index 08085f75..d1e3e829 100644
--- a/server-client.c
+++ b/server-client.c
@@ -549,7 +549,7 @@ server_client_check_resize(struct window_pane *wp)
* other platforms and ignoring it doesn't seem to cause any
* issues.
*/
- if (errno != EINVAL)
+ if (errno != EINVAL && errno != ENXIO)
#endif
fatal("ioctl failed");
}