From 48f85149395585756a0f4f61c89d5c34de6721ae Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 5 Apr 2024 23:04:56 +0100 Subject: [PATCH] Don't hide the + sign on Intel CPU temp --- system-info/system-info-Linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system-info/system-info-Linux.sh b/system-info/system-info-Linux.sh index 043abaf..ab086e1 100755 --- a/system-info/system-info-Linux.sh +++ b/system-info/system-info-Linux.sh @@ -11,7 +11,7 @@ fi if command -v sensors &> /dev/null; then if sensors 'coretemp-isa-0000' &> /dev/null; then function get_cpu_temp() { - sensors 'coretemp-isa-0000' | awk 'NR == 3 { print substr($4, 2) }' + sensors 'coretemp-isa-0000' | awk 'NR == 3 { print $4 }' } elif sensors 'k10temp-pci-00c3' &> /dev/null; then function get_cpu_temp {