1.1 --- a/Hardware/HDD/HDDGroup.cs Tue Jan 26 22:37:48 2010 +0000
1.2 +++ b/Hardware/HDD/HDDGroup.cs Wed Jan 27 18:12:51 2010 +0000
1.3 @@ -60,9 +60,12 @@
1.4 string name = SMART.ReadName(handle, drive);
1.5 if (name != null) {
1.6
1.7 - SMART.DriveAttribute[] attributes =
1.8 + SMART.DriveAttribute[] attributes =
1.9 SMART.ReadSmart(handle, drive);
1.10
1.11 + if (attributes == null)
1.12 + continue;
1.13 +
1.14 int attribute = -1;
1.15 for (int i = 0; i < attributes.Length; i++) {
1.16 if (attributes[i].ID == SMART.AttributeID.Temperature) {