mirror of
https://github.com/phpseclib/phpseclib.git
synced 2024-12-27 03:42:40 +00:00
SFTP: try to delete dir even if it can't be opened
This commit is contained in:
parent
c22bf62ce1
commit
1dfd1b9cd4
@ -2764,7 +2764,7 @@ class Net_SFTP extends Net_SSH2
|
||||
// normally $entries would have at least . and .. but it might not if the directories
|
||||
// permissions didn't allow reading
|
||||
if (empty($entries)) {
|
||||
return false;
|
||||
$entries = array();
|
||||
}
|
||||
|
||||
unset($entries['.'], $entries['..']);
|
||||
|
Loading…
Reference in New Issue
Block a user