mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-15 22:00:06 -04:00
check_sensors.sh: Make shellcheck happier
This commit is contained in:
parent
78801192cf
commit
763b7ab0c4
1 changed files with 1 additions and 1 deletions
|
|
@ -46,7 +46,7 @@ case "$1" in
|
|||
if test ${status} -eq 127; then
|
||||
text="SENSORS UNKNOWN - command not found (did you install lmsensors?)"
|
||||
exit=$STATE_UNKNOWN
|
||||
elif test ${status} -ne 0; then
|
||||
elif test "${status}" -ne 0; then
|
||||
text="WARNING - sensors returned state $status"
|
||||
exit=$STATE_WARNING
|
||||
elif echo "${sensordata}" | egrep ALARM > /dev/null; then
|
||||
|
|
|
|||
Loading…
Reference in a new issue