diff --git a/lib/OperatingSystems/FreeBSD.php b/lib/OperatingSystems/FreeBSD.php index bf1b8153..90a1a507 100644 --- a/lib/OperatingSystems/FreeBSD.php +++ b/lib/OperatingSystems/FreeBSD.php @@ -76,7 +76,7 @@ public function getCpuName(): string { } public function getCpuCount(): int { - $numCpu = 1; // this should be a save default + $numCpu = -1; try { $numCpu = intval($this->executeCommand('sysctl -n hw.ncpu')); //TODO: this should be tested if it actually works on FreeBSD