Fix typo: If lm-sensors is not installed, it would exit with OK instead of UNKNOWN.

This commit is contained in:
Elyrith 2013-10-05 23:39:34 -04:00
parent 664cac6965
commit 6b1c3b0d95

View File

@ -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