aboutsummaryrefslogtreecommitdiff
path: root/check_sensors
diff options
context:
space:
mode:
Diffstat (limited to 'check_sensors')
-rwxr-xr-xcheck_sensors2
1 files changed, 1 insertions, 1 deletions
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"