diff options
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_sensors.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index d108bcc..660b721 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh | |||
@@ -34,7 +34,7 @@ case "$1" in | |||
34 | exit 0 | 34 | exit 0 |
35 | ;; | 35 | ;; |
36 | --version) | 36 | --version) |
37 | print_revision $PROGNAME $REVISION | 37 | print_revision $PROGNAME $REVISION |
38 | exit 0 | 38 | exit 0 |
39 | ;; | 39 | ;; |
40 | -V) | 40 | -V) |
@@ -50,7 +50,7 @@ case "$1" in | |||
50 | if test ${status} -eq 127; then | 50 | if test ${status} -eq 127; then |
51 | echo "SENSORS UNKNOWN - command not found (did you install lmsensors?)" | 51 | echo "SENSORS UNKNOWN - command not found (did you install lmsensors?)" |
52 | exit -1 | 52 | exit -1 |
53 | elif test ${status} -ne 0 ; then | 53 | elif test ${status} -ne 0; then |
54 | echo "WARNING - sensors returned state $status" | 54 | echo "WARNING - sensors returned state $status" |
55 | exit 1 | 55 | exit 1 |
56 | fi | 56 | fi |