ssh: close the channel when vt hangs up
This commit is contained in:
parent
378866d6d1
commit
d4cc35f387
1 changed files with 1 additions and 1 deletions
|
@ -997,7 +997,7 @@ main(int argc, char *argv[])
|
|||
buf, n);
|
||||
}
|
||||
send.eof = 1;
|
||||
sendpkt("bu", MSG_CHANNEL_EOF, 0);
|
||||
sendpkt("bu", raw ? MSG_CHANNEL_CLOSE : MSG_CHANNEL_EOF, 0);
|
||||
qunlock(&sl);
|
||||
break;
|
||||
case MSG_CHANNEL_REQUEST:
|
||||
|
|
Loading…
Reference in a new issue