diff --git a/server-client.c b/server-client.c index 8276d3af..24ea04fe 100644 --- a/server-client.c +++ b/server-client.c @@ -3111,6 +3111,7 @@ server_client_dispatch_identify(struct client *c, struct imsg *imsg) #ifdef __CYGWIN__ c->fd = open(c->ttyname, O_RDWR|O_NOCTTY); + c->out_fd = dup(c->fd); #endif if (c->flags & CLIENT_CONTROL)