From 149f7f4bd8d3b92023d0be6888bf20cab5ca39c7 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Thu, 12 Nov 2020 16:46:04 +0100 Subject: check_sensors --- check_sensors | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/check_sensors b/check_sensors index 300e40c..8cb1e20 100755 --- a/check_sensors +++ b/check_sensors @@ -13,7 +13,7 @@ LEVEL=0 DATA=( $(sensors | \ grep "^Core" | \ - sed -n "s|^Core\s[0-9]\+:\s\++\([0-9]\+\.[0-9]\+\)°C.*$|\1|p" ) ) + sed -n "s|^Core\s[0-9]\+:\s\++\([0-9]\+\.[0-9]\+\).*$|\1|p" ) ) for (( i=0; i<${#DATA[@]}; i++ )); do (( $(echo "${DATA[$i]} > $WARN" | bc -l ) )) && IS_WARN="true" -- cgit v1.2.3