diff options
author | MisterMountain <bjoern.berg@netways.de> | 2023-04-11 17:11:06 +0200 |
---|---|---|
committer | MisterMountain <bjoern.berg@netways.de> | 2023-04-11 17:11:06 +0200 |
commit | 3dc677e4f1f990e7b26bc714a02608070379cf85 (patch) | |
tree | 541ed77fd046ccc615af9a956accf50ab3302343 | |
parent | 5af4db7b4169acee20bfa2d637ce3f3eb5bdef47 (diff) | |
download | monitoring-plugins-3dc677e4f1f990e7b26bc714a02608070379cf85.tar.gz |
fixed the identation (and also patched -V on check_oracle to behave exactly like --version again)
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 10 | ||||
-rwxr-xr-x | plugins-scripts/check_sensors.sh | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index f340b97c..d58cfbea 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh | |||
@@ -86,20 +86,20 @@ esac | |||
86 | # Information options | 86 | # Information options |
87 | case "$cmd" in | 87 | case "$cmd" in |
88 | --help) | 88 | --help) |
89 | print_help | 89 | print_help |
90 | exit "$STATE_OK" | 90 | exit "$STATE_OK" |
91 | ;; | 91 | ;; |
92 | -h) | 92 | -h) |
93 | print_help | 93 | print_help |
94 | exit "$STATE_OK" | 94 | exit "$STATE_OK" |
95 | ;; | 95 | ;; |
96 | --version) | 96 | --version) |
97 | print_revision "$PROGNAME" "$REVISION" | 97 | print_revision "$PROGNAME" "$REVISION" |
98 | exit "$STATE_UNKNOWN" | 98 | exit "$STATE_UNKNOWN" |
99 | ;; | 99 | ;; |
100 | -V) | 100 | -V) |
101 | print_revision "$PROGNAME" "$REVISION" | 101 | print_revision "$PROGNAME" "$REVISION" |
102 | exit "$STATE_OK" | 102 | exit "$STATE_UNKNOWN" |
103 | ;; | 103 | ;; |
104 | esac | 104 | esac |
105 | 105 | ||
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh index 3c4cf01b..adbfc533 100755 --- a/plugins-scripts/check_sensors.sh +++ b/plugins-scripts/check_sensors.sh | |||
@@ -38,7 +38,7 @@ case "$1" in | |||
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) |