mirror of
https://github.com/unraid/webgui.git
synced 2026-03-18 02:41:09 -05:00
Merge pull request #381 from Squidly271/patch-13
CPU Isolation: Prevent PHP error if no CPUs isolated
This commit is contained in:
@@ -91,7 +91,8 @@ case 'is':
|
||||
$syslinux = file('/boot/syslinux/syslinux.cfg',FILE_IGNORE_NEW_LINES+FILE_SKIP_EMPTY_LINES);
|
||||
$size = count($syslinux);
|
||||
$menu = $i = 0;
|
||||
$isolcpus = $isol = [];
|
||||
$isol = "";
|
||||
$isolcpus = [];
|
||||
// find the default section
|
||||
while ($i < $size) {
|
||||
if (scan($syslinux[$i],'label ')) {
|
||||
|
||||
Reference in New Issue
Block a user