diff --git a/lib/disk.pm b/lib/disk.pm index afa0b87..0f283a7 100644 --- a/lib/disk.pm +++ b/lib/disk.pm @@ -220,6 +220,11 @@ sub disk_update { $temp = $tmp[9]; chomp($temp); } + if(/^190/ && /Airflow_Temperature_Cel/) { + my @tmp = split(' ', $_); + $temp = $tmp[9] unless $temp; + chomp($temp); + } if(/^197/ && /Current_Pending_Sector/) { my @tmp = split(' ', $_); $smart2 = $tmp[9];