diff --git a/System/SystemUtils.php b/System/SystemUtils.php index 554f7f15b..970f9367e 100755 --- a/System/SystemUtils.php +++ b/System/SystemUtils.php @@ -126,7 +126,7 @@ final class SystemUtils return -1; } - $cpuUsage = $loadavg[0] * 100 / $nproc; + $cpuUsage = ((float) ($loadavg[0] ?? 0.0)) * 100 / $nproc; } return (int) $cpuUsage;