SSH2: suppress 'broken pipe' errors

This commit is contained in:
terrafrost 2020-08-17 07:28:17 -05:00
parent 239bc63618
commit ded9b3043f

View File

@ -3981,7 +3981,7 @@ class Net_SSH2
$packet.= $hmac;
$start = strtok(microtime(), ' ') + strtok(''); // http://php.net/microtime#61838
$result = strlen($packet) == fputs($this->fsock, $packet);
$result = strlen($packet) == @fputs($this->fsock, $packet);
$stop = strtok(microtime(), ' ') + strtok('');
if (defined('NET_SSH2_LOGGING')) {