mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-28 04:05:15 +00:00
SSH2: rm last commit; _get_channel_packet() takes care of this lol
This commit is contained in:
parent
b440708a7b
commit
aa3e6c1a99
@ -2084,11 +2084,6 @@ class Net_SSH2 {
|
||||
if ($response === false) {
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ord($response[0]) != NET_SSH2_MSG_CHANNEL_SUCCESS) {
|
||||
user_error('exec call refused');
|
||||
return;
|
||||
}
|
||||
|
||||
$this->channel_status[NET_SSH2_CHANNEL_EXEC] = NET_SSH2_MSG_CHANNEL_DATA;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user