diff --git a/lib/BinaryFinder.php b/lib/BinaryFinder.php index 9cdeb316..9f0a08d2 100644 --- a/lib/BinaryFinder.php +++ b/lib/BinaryFinder.php @@ -33,7 +33,7 @@ public function getArch(): string { if (strpos($arch, 'aarch64') === 0) { return 'aarch64'; } - if (strpos($os, 'FreeBSD') == 0) { + if (strpos($os, 'FreeBSD') === 0) { $arch = 'fbsd_' . $arch; } return $arch;