Merge pull request #243 from Zmegolaz/smartctlhours

Split SMART power on hours on h too, not only space
This commit is contained in:
VVelox
2019-07-02 00:15:30 -05:00
committed by GitHub
+1 -1
View File
@@ -319,7 +319,7 @@ foreach my $line ( @disks ){
# 9, power on hours
if ( $id == 9 ) {
my @runtime=split(/\ /, $raw);
my @runtime=split(/[\ h]/, $raw);
$IDs{$id}=$runtime[0];
}