Check for disk not present in status report

This commit is contained in:
bergware
2016-03-27 20:58:54 +02:00
parent 09b9a81fdf
commit c3454bc2a7

View File

@@ -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';