aboutsummaryrefslogtreecommitdiff
path: root/libssh
diff options
context:
space:
mode:
Diffstat (limited to 'libssh')
-rw-r--r--libssh/channels.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libssh/channels.c b/libssh/channels.c
index 5c12e1e..2525f15 100644
--- a/libssh/channels.c
+++ b/libssh/channels.c
@@ -1641,8 +1641,6 @@ SSH_SESSION *channel_get_session(CHANNEL *channel) {
* @return -1 if no exit status has been returned, the exit status othewise.
*/
int channel_get_exit_status(CHANNEL *channel) {
- channel_request(channel, "exit-status", NULL, 0);
-
return channel->exit_status;
}