diff options
author | MisterMountain <bjoern.berg@netways.de> | 2023-05-02 09:40:35 +0200 |
---|---|---|
committer | MisterMountain <bjoern.berg@netways.de> | 2023-05-02 09:40:35 +0200 |
commit | 21885d85d54ce2afe7b9bf962348dc60e31442e0 (patch) | |
tree | 13cbafb4a2497a41cd83aa603006f8592614d855 /plugins-scripts/check_oracle.sh | |
parent | e14f1ad7c35504b97f81b1b33a5533e57c605fc2 (diff) | |
download | monitoring-plugins-21885d8.tar.gz |
also fixed the --help returns
Diffstat (limited to 'plugins-scripts/check_oracle.sh')
-rwxr-xr-x | plugins-scripts/check_oracle.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh index d58cfbea..59981386 100755 --- a/plugins-scripts/check_oracle.sh +++ b/plugins-scripts/check_oracle.sh | |||
@@ -87,11 +87,11 @@ esac | |||
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_UNKNOWN" |
91 | ;; | 91 | ;; |
92 | -h) | 92 | -h) |
93 | print_help | 93 | print_help |
94 | exit "$STATE_OK" | 94 | exit "$STATE_UNKNOWN" |
95 | ;; | 95 | ;; |
96 | --version) | 96 | --version) |
97 | print_revision "$PROGNAME" "$REVISION" | 97 | print_revision "$PROGNAME" "$REVISION" |