mirror of https://github.com/mikaku/Monitorix.git
fix identation #121
This commit is contained in:
parent
74da08ac47
commit
8dc5a114eb
10
lib/disk.pm
10
lib/disk.pm
|
@ -220,11 +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(/^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];
|
||||
|
|
Loading…
Reference in New Issue