mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 13:09:58 -06:00
Check for disk not present in status report
This commit is contained in:
@@ -97,6 +97,7 @@ function my_clock($time) {
|
||||
function my_array(&$disk) {
|
||||
global $data,$max,$hot,$error0,$error1,$error2,$error3;
|
||||
$name = $disk['name'];
|
||||
if (strpos($disk['status'],'_NP')!==false) return false;
|
||||
$temp = $disk['temp'];
|
||||
if ($temp>=$max) {
|
||||
$fail = ' (disk is overheated';
|
||||
|
||||
Reference in New Issue
Block a user