Fixed error in SMART Health string definition
Benjamin Renard

Benjamin Renard commited on 2011-05-13 13:12:49
Showing 1 changed files, with 1 additions and 1 deletions.

... ...
@@ -108,7 +108,7 @@ my $found_status = 0;
108 108
 my $line_str = 'SMART overall-health self-assessment test result: '; # ATA SMART line
109 109
 my $ok_str = 'PASSED'; # ATA SMART OK string
110 110
 
111
-if ($interface eq 'megaraid'.",".$number or 'scsi'){
111
+if ($interface eq 'megaraid'.",".$number or $interface eq 'scsi'){
112 112
 	$line_str = 'SMART Health Status: '; # SCSI OR MEGARAID SMART line
113 113
 	$ok_str = 'OK'; #SCSI OR MEGARAID SMART OK string
114 114
 }
115 115