Merge pull request #1 from p-try/p-try-patch-1

Fix missing error message in dir()
This commit is contained in:
Julian 2022-05-05 16:38:38 +02:00 committed by GitHub
commit 7680cc519c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);