diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/serverloop.c b/serverloop.c index 79bdf77ba..58e901de8 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -402,7 +402,9 @@ server_loop(pid_t pid, int fdin_arg, int fdout_arg, int fderr_arg) | |||
402 | /* nonblocking IO */ | 402 | /* nonblocking IO */ |
403 | set_nonblock(fdin); | 403 | set_nonblock(fdin); |
404 | set_nonblock(fdout); | 404 | set_nonblock(fdout); |
405 | set_nonblock(fderr); | 405 | /* we don't have stderr for interactive terminal sessions, see below */ |
406 | if (fderr != -1) | ||
407 | set_nonblock(fderr); | ||
406 | 408 | ||
407 | connection_in = packet_get_connection_in(); | 409 | connection_in = packet_get_connection_in(); |
408 | connection_out = packet_get_connection_out(); | 410 | connection_out = packet_get_connection_out(); |