mirror of
https://codeberg.org/icewind/SMB.git
synced 2026-06-03 09:14:06 +02:00
Use elseif, not else if
Small fix
This commit is contained in:
parent
76995aa11c
commit
72e369f743
1 changed files with 1 additions and 1 deletions
|
|
@ -65,7 +65,7 @@ class System implements ISystem {
|
||||||
|
|
||||||
if ($result === 0 && isset($output[0])) {
|
if ($result === 0 && isset($output[0])) {
|
||||||
$this->paths[$binary] = (string)$output[0];
|
$this->paths[$binary] = (string)$output[0];
|
||||||
} else if (is_executable("/usr/bin/$binary")) {
|
} elseif (is_executable("/usr/bin/$binary")) {
|
||||||
$this->paths[$binary] = "/usr/bin/$binary";
|
$this->paths[$binary] = "/usr/bin/$binary";
|
||||||
} else {
|
} else {
|
||||||
$this->paths[$binary] = null;
|
$this->paths[$binary] = null;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue