diff options
author | Michaël Ball <git@michaelball.name> | 2021-02-21 11:57:10 +0000 |
---|---|---|
committer | Michaël Ball <git@michaelball.name> | 2021-02-21 11:57:10 +0000 |
commit | 6cd46646d6f6e77cabf4969b1455e2bdf9dce24a (patch) | |
tree | a12d8190d87c1c268e385ec42e40cf516d58908c /temperature | |
parent | 3de82782746019f605456d57226815eb9aac8369 (diff) |
Changes for desktopdesktop
Diffstat (limited to 'temperature')
-rwxr-xr-x | temperature | 2 |
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; } |