mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
Check for errors in first output from setmode
This commit is contained in:
parent
b08a6d1b31
commit
7278910ddc
1 changed files with 1 additions and 0 deletions
|
|
@ -339,6 +339,7 @@ class Share implements IShare {
|
|||
// first reset the mode to normal
|
||||
$cmd = 'setmode ' . $path . ' -rsha';
|
||||
$output = $this->execute($cmd);
|
||||
$this->parseOutput($output);
|
||||
|
||||
// then set the modes we want
|
||||
$cmd = 'setmode ' . $path . ' ' . $modeString;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue