Commit 907c4174 authored by Niels Möller's avatar Niels Möller
Browse files

* src/client.c (do_exit_status): Don't call channel_eof. This way,

the behavior is more similar to other ssh clients.

Rev: src/client.c:1.108
parent 02d95dce
......@@ -192,11 +192,14 @@ do_exit_status(struct channel_request *c,
ALIST_SET(channel->request_types, ATOM_EXIT_STATUS, NULL);
ALIST_SET(channel->request_types, ATOM_EXIT_SIGNAL, NULL);
#if 0
/* Send EOF, if we haven't done that already. */
/* FIXME: Make this behaviour configurable, there may be some
* child process alive that we could talk to. */
channel_eof(channel);
#endif
COMMAND_RETURN(s, NULL);
}
else
......@@ -246,11 +249,13 @@ do_exit_signal(struct channel_request *c,
ALIST_SET(channel->request_types, ATOM_EXIT_STATUS, NULL);
ALIST_SET(channel->request_types, ATOM_EXIT_SIGNAL, NULL);
#if 0
/* Send EOF, if we haven't done that already. */
/* FIXME: Make this behaviour configurable, there may be some
* child process alive that we could talk to. */
channel_eof(channel);
#endif
COMMAND_RETURN(s, NULL);
}
else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment