mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-04 01:34:07 +02:00
handle new share list output
This commit is contained in:
parent
5a8d9edf74
commit
89f47cfdf2
4 changed files with 27 additions and 6 deletions
|
|
@ -17,10 +17,10 @@ class System {
|
|||
private $stdbuf;
|
||||
|
||||
public static function getFD($num) {
|
||||
$folders = array(
|
||||
$folders = [
|
||||
'/proc/self/fd',
|
||||
'/dev/fd'
|
||||
);
|
||||
];
|
||||
foreach ($folders as $folder) {
|
||||
if (file_exists($folder)) {
|
||||
return $folder . '/' . $num;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue