Fix format.

This commit is contained in:
Andreas Bachlechner 2021-10-11 16:48:41 +02:00
parent ac257d3b41
commit 09e2354950
1 changed files with 4 additions and 4 deletions

View File

@ -243,10 +243,10 @@ sub disk_update {
chomp($temp);
}
if(/^Temperature: /) {
my @tmp = split(' ', $_);
$temp = $tmp[1] unless $temp;
chomp($temp);
}
my @tmp = split(' ', $_);
$temp = $tmp[1] unless $temp;
chomp($temp);
}
}
close(IN);
if(!$temp && !$respect_standby) {