mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
Merge pull request #1 from p-try/p-try-patch-1
Fix missing error message in dir()
This commit is contained in:
commit
7680cc519c
1 changed files with 2 additions and 0 deletions
|
|
@ -179,6 +179,8 @@ class Share extends AbstractShare {
|
||||||
$output = $this->execute('dir');
|
$output = $this->execute('dir');
|
||||||
|
|
||||||
$this->execute('cd /');
|
$this->execute('cd /');
|
||||||
|
//check output for errors
|
||||||
|
$this->parseOutput($output, $path);
|
||||||
|
|
||||||
return $this->parser->parseDir($output, $path, function (string $path) {
|
return $this->parser->parseDir($output, $path, function (string $path) {
|
||||||
return $this->getAcls($path);
|
return $this->getAcls($path);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue