1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 17:38:00 +00:00

Merge branch 'pre-0.65'

This commit is contained in:
Simon Tatham 2015-06-22 19:44:39 +01:00
commit 0bd014e456

2
ssh.c
View File

@ -7817,7 +7817,7 @@ static void ssh_check_termination(Ssh ssh)
{
if (ssh->version == 2 &&
!conf_get_int(ssh->conf, CONF_ssh_no_shell) &&
count234(ssh->channels) == 0 &&
(ssh->channels && count234(ssh->channels) == 0) &&
!(ssh->connshare && share_ndownstreams(ssh->connshare) > 0)) {
/*
* We used to send SSH_MSG_DISCONNECT here, because I'd