SSH2: rm last commit; _get_channel_packet() takes care of this lol

This commit is contained in:
terrafrost 2013-05-08 15:13:18 -04:00
parent b440708a7b
commit aa3e6c1a99

View File

@ -2085,11 +2085,6 @@ class Net_SSH2 {
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;
if (!$block || $this->in_request_pty_exec) {