mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
disable output buffering for smbclient
This commit is contained in:
parent
6e544f617c
commit
c50d9aa6a5
1 changed files with 1 additions and 1 deletions
|
|
@ -61,7 +61,7 @@ class Share extends AbstractShare {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
$workgroupArgument = ($this->server->getWorkgroup()) ? ' -W ' . escapeshellarg($this->server->getWorkgroup()) : '';
|
$workgroupArgument = ($this->server->getWorkgroup()) ? ' -W ' . escapeshellarg($this->server->getWorkgroup()) : '';
|
||||||
$command = sprintf('%s %s --authentication-file=%s %s',
|
$command = sprintf('stdbuf -o0 %s %s --authentication-file=%s %s',
|
||||||
$this->system->getSmbclientPath(),
|
$this->system->getSmbclientPath(),
|
||||||
$workgroupArgument,
|
$workgroupArgument,
|
||||||
System::getFD(3),
|
System::getFD(3),
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue