diff --git a/phpseclib/Net/SSH2.php b/phpseclib/Net/SSH2.php index 76ce6357..f7a099a8 100644 --- a/phpseclib/Net/SSH2.php +++ b/phpseclib/Net/SSH2.php @@ -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); }