This commit is contained in:
Ilia Rostovtsev
2021-06-22 10:57:53 +03:00
parent 22ca116bb0
commit 939c8eb4fe

View File

@ -525,7 +525,7 @@ if (&has_command("sensors")) {
# Get odd output like in #1253
if ($aa && (
/temp(\d+):\s+([\+\-][0-9\.]+)\s+.*?[=+].*?\)/ ||
/temp(\d+):\s+([\+\-][0-9\.]+).*?°[Cc]\s+.*?[=+].*?\)/
/temp(\d+):\s+([\+\-][0-9\.]+).*?[Cc]\s+.*?[=+].*?\)/
)) {
# Adjust to start from `0` as all other outputs
push(@rvx, { 'core' => (int($1) - 1),