summaryrefslogtreecommitdiff
path: root/temperature
diff options
context:
space:
mode:
authorMichaël Ball <git@michaelball.name>2021-02-21 11:57:10 +0000
committerMichaël Ball <git@michaelball.name>2021-02-21 11:57:10 +0000
commit6cd46646d6f6e77cabf4969b1455e2bdf9dce24a (patch)
treea12d8190d87c1c268e385ec42e40cf516d58908c /temperature
parent3de82782746019f605456d57226815eb9aac8369 (diff)
Changes for desktopdesktop
Diffstat (limited to 'temperature')
-rwxr-xr-xtemperature2
1 files changed, 1 insertions, 1 deletions
diff --git a/temperature b/temperature
index c368d8c..52f37d1 100755
--- a/temperature
+++ b/temperature
@@ -46,7 +46,7 @@ GetOptions("help|h" => \&help,
# Get chip temperature
open (SENSORS, "sensors -u $chip |") or die;
while (<SENSORS>) {
- if (/^\s+temp1_input:\s+[\+]*([\-]*\d+\.\d)/) {
+ if (/^\s+.+:\s+[\+]*([\-]*\d+\.\d)/) {
$temperature = $1;
last;
}