aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmodules/cputemp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/cputemp b/modules/cputemp
index da8f183..e856248 100755
--- a/modules/cputemp
+++ b/modules/cputemp
@@ -15,7 +15,7 @@ get_cputemp()
CPU_TEMP="$(sensors | grep temp1 | awk 'NR==1{gsub("+", " "); gsub("\\..", " "); print $2}')"
- if [ "$CPU_TEMP" -ge $WARNING_LEVEL ]; then
+ if [[ "$CPU_TEMP" -ge $WARNING_LEVEL ]]; then
PREFIX="$FIRE$PREFIX"
fi