Fix typo: If lm-sensors is not installed, it would exit with OK instead of UNKNOWN.
This commit is contained in:
parent
664cac6965
commit
6b1c3b0d95
@ -94,7 +94,7 @@ sensor=CPU
|
||||
# See if we have sensors program installed and can execute it
|
||||
if [[ ! -x "$SENSORPROG" ]]; then
|
||||
printf "\nIt appears you don't have lm-sensors installed in $SENSORPROG\n"
|
||||
exit $STATE_UNKOWN
|
||||
exit $STATE_UNKNOWN
|
||||
fi
|
||||
|
||||
# Parse command line options
|
||||
|
Loading…
x
Reference in New Issue
Block a user