1
0
mirror of https://github.com/danog/phpseclib.git synced 2024-12-11 16:49:42 +01:00

SSH2: syntax error

This commit is contained in:
terrafrost 2020-12-16 09:13:05 -06:00
parent 0144a86e25
commit 47e1ce60b3

View File

@ -3689,7 +3689,7 @@ class SSH2
$this->binary_packet_buffer = false;
} else {
$response = $this->get_binary_packet(true);
if ($response === true && $this->is_timeout)
if ($response === true && $this->is_timeout) {
if ($client_channel == self::CHANNEL_EXEC && !$this->request_pty) {
$this->close_channel($client_channel);
}