mirror of https://github.com/mikaku/Monitorix.git
Fix format.
This commit is contained in:
parent
ac257d3b41
commit
09e2354950
|
@ -243,10 +243,10 @@ sub disk_update {
|
||||||
chomp($temp);
|
chomp($temp);
|
||||||
}
|
}
|
||||||
if(/^Temperature: /) {
|
if(/^Temperature: /) {
|
||||||
my @tmp = split(' ', $_);
|
my @tmp = split(' ', $_);
|
||||||
$temp = $tmp[1] unless $temp;
|
$temp = $tmp[1] unless $temp;
|
||||||
chomp($temp);
|
chomp($temp);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
close(IN);
|
close(IN);
|
||||||
if(!$temp && !$respect_standby) {
|
if(!$temp && !$respect_standby) {
|
||||||
|
|
Loading…
Reference in New Issue