mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-11-15 17:57:12 +00:00
Merge branch '3.0'
This commit is contained in:
commit
5cfa2137ab
@ -2632,7 +2632,8 @@ class SSH2
|
||||
|
||||
$this->send_binary_packet($packet);
|
||||
|
||||
if (!$this->get_channel_packet(NET_SSH2_CHANNEL_EXEC)) {
|
||||
$this->channel_status[self::CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_REQUEST;
|
||||
if (!$this->get_channel_packet(self::CHANNEL_EXEC)) {
|
||||
$this->disconnect_helper(NET_SSH2_DISCONNECT_BY_APPLICATION);
|
||||
throw new \RuntimeException('Unable to request pseudo-terminal');
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user