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_log.sh | |
parent | e14f1ad7c35504b97f81b1b33a5533e57c605fc2 (diff) | |
download | monitoring-plugins-21885d85d54ce2afe7b9bf962348dc60e31442e0.tar.gz |
also fixed the --help returns
Diffstat (limited to 'plugins-scripts/check_log.sh')
-rwxr-xr-x | plugins-scripts/check_log.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index 10c56f14..8ecdd316 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh | |||
@@ -105,7 +105,7 @@ while test -n "$1"; do | |||
105 | case "$1" in | 105 | case "$1" in |
106 | -h | --help) | 106 | -h | --help) |
107 | print_help | 107 | print_help |
108 | exit "$STATE_OK" | 108 | exit "$STATE_UNKNOWN" |
109 | ;; | 109 | ;; |
110 | -V | --version) | 110 | -V | --version) |
111 | print_revision "$PROGNAME" "$REVISION" | 111 | print_revision "$PROGNAME" "$REVISION" |