1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-11-30 04:39:21 +01:00

SSH2: update PTY changes for 2.0 branch

This commit is contained in:
terrafrost 2016-12-24 21:20:13 -06:00
parent 6aa31b2cd1
commit 95335f9560

View File

@ -3312,7 +3312,7 @@ class SSH2
function disablePTY()
{
if ($this->in_request_pty_exec) {
$this->_close_channel(NET_SSH2_CHANNEL_EXEC);
$this->_close_channel(self::CHANNEL_EXEC);
$this->in_request_pty_exec = false;
}
$this->request_pty = false;