fix _precheck

This commit is contained in:
terrafrost 2021-08-29 13:00:21 -05:00
parent c9e4944370
commit 19e7737ead
1 changed files with 1 additions and 9 deletions

View File

@ -329,14 +329,6 @@ class Net_SFTP extends Net_SSH2
*/
var $partial_init = false;
/**
* Has the SFTP channel been fully negotiated?
*
* @var bool
* @access private
*/
var $full_init = false;
/**
* Default Constructor.
*
@ -515,7 +507,7 @@ class Net_SFTP extends Net_SSH2
return false;
}
if (!$this->full_init) {
if ($this->pwd === false) {
return $this->_init_sftp_connection();
}