diff options
| author | waja <waja@users.noreply.github.com> | 2023-06-28 16:39:27 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-06-28 16:39:27 +0200 |
| commit | 265a7c0ed8ccde7868bb7e77c44aecc403743c21 (patch) | |
| tree | 3a02f6ce03e8f781dcfca22ee1f17817225a0ff9 /plugins-scripts/check_sensors.sh | |
| parent | b96a8424f0ec6206238b650c2c63b4bd006ab43a (diff) | |
| parent | b24eb7f46ac8667324efd818c01d68d5a1376c89 (diff) | |
| download | monitoring-plugins-265a7c0ed8ccde7868bb7e77c44aecc403743c21.tar.gz | |
Merge branch 'master' into compiler_warning_part_2
Diffstat (limited to 'plugins-scripts/check_sensors.sh')
| -rwxr-xr-x | plugins-scripts/check_sensors.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index 921e7b36..866e0e0f 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh | |||
| @@ -26,19 +26,19 @@ print_help() { | |||
| 26 | case "$1" in | 26 | case "$1" in |
| 27 | --help) | 27 | --help) |
| 28 | print_help | 28 | print_help |
| 29 | exit "$STATE_OK" | 29 | exit "$STATE_UNKNOWN" |
| 30 | ;; | 30 | ;; |
| 31 | -h) | 31 | -h) |
| 32 | print_help | 32 | print_help |
| 33 | exit "$STATE_OK" | 33 | exit "$STATE_UNKNOWN" |
| 34 | ;; | 34 | ;; |
| 35 | --version) | 35 | --version) |
| 36 | print_revision "$PROGNAME" "$REVISION" | 36 | print_revision "$PROGNAME" "$REVISION" |
| 37 | exit "$STATE_OK" | 37 | exit "$STATE_UNKNOWN" |
| 38 | ;; | 38 | ;; |
| 39 | -V) | 39 | -V) |
| 40 | print_revision "$PROGNAME" "$REVISION" | 40 | print_revision "$PROGNAME" "$REVISION" |
| 41 | exit "$STATE_OK" | 41 | exit "$STATE_UNKNOWN" |
| 42 | ;; | 42 | ;; |
| 43 | *) | 43 | *) |
| 44 | sensordata=$(sensors 2>&1) | 44 | sensordata=$(sensors 2>&1) |
