Ignore ENXIO on Solaris as well, from Peter Schow.

This commit is contained in:
Nicholas Marriott 2014-10-02 09:47:00 +01:00
parent 931c17ed4f
commit b6aef2490f

View File

@ -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");
}