pwd didn't work if called first

This commit is contained in:
terrafrost 2021-08-27 21:57:38 -05:00
parent a25d3a75d3
commit c9e4944370

View File

@ -792,6 +792,10 @@ class Net_SFTP extends Net_SSH2
*/
function pwd()
{
if (!$this->_precheck()) {
return false;
}
return $this->pwd;
}