mirror of
https://github.com/unraid/webgui.git
synced 2026-02-27 04:41:20 -06:00
Change no array detection.
This commit is contained in:
@@ -41,7 +41,7 @@ function checkDisks($disks) {
|
||||
}
|
||||
|
||||
/* If the configuration is pools only, then no array disks are available. */
|
||||
$poolsOnly = ((int)$var['sbNumDisks'] == 2) ? true : false;
|
||||
$poolsOnly = ((int)$var['SYS_ARRAY_SLOTS'] <= 2) ? true : false;
|
||||
|
||||
/* Are there any array disks? */
|
||||
$disks = parse_ini_file('state/disks.ini',true) ?? [];
|
||||
|
||||
Reference in New Issue
Block a user