diff options
author | 2001-04-08 11:27:33 +0000 | |
---|---|---|
committer | 2001-04-08 11:27:33 +0000 | |
commit | 8d624966b748cb691fdb3a15d55f7a1367c4d13f (patch) | |
tree | ba10bb7abd751dde8c77c102cab6029c42637677 /usr.bin/ssh/clientloop.c | |
parent | KNF (diff) | |
download | wireguard-openbsd-8d624966b748cb691fdb3a15d55f7a1367c4d13f.tar.xz wireguard-openbsd-8d624966b748cb691fdb3a15d55f7a1367c4d13f.zip |
leave_raw_mode if ssh2 "session" is closed
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index ad20b2f0e77..94d2ec60bb0 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.60 2001/04/05 21:05:23 markus Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.61 2001/04/08 11:27:33 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -796,6 +796,8 @@ client_channel_closed(int id, void *arg) error("client_channel_closed: id %d != session_ident %d", id, session_ident); session_closed = 1; + if (in_raw_mode) + leave_raw_mode(); } /* |