mirror of
https://github.com/danog/tgseclib.git
synced 2025-01-22 14:01:20 +01:00
SSH2: update PTY changes for 2.0 branch
This commit is contained in:
parent
6aa31b2cd1
commit
95335f9560
@ -3312,7 +3312,7 @@ class SSH2
|
|||||||
function disablePTY()
|
function disablePTY()
|
||||||
{
|
{
|
||||||
if ($this->in_request_pty_exec) {
|
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->in_request_pty_exec = false;
|
||||||
}
|
}
|
||||||
$this->request_pty = false;
|
$this->request_pty = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user