diff options
author | Lorenz <12514511+RincewindsHat@users.noreply.github.com> | 2023-05-02 10:39:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-02 10:39:20 +0200 |
commit | 72d34baf718e12a88e978c69369b96baf63ef97a (patch) | |
tree | 13cbafb4a2497a41cd83aa603006f8592614d855 /plugins-scripts/check_log.sh | |
parent | a4be133f01a231dc45c98aabed35f96d6f826fd7 (diff) | |
parent | 21885d85d54ce2afe7b9bf962348dc60e31442e0 (diff) | |
download | monitoring-plugins-72d34ba.tar.gz |
Merge pull request #1861 from MisterMountain/fix_version_return_code
check_log: Fix return code on help and version
check_oracle: Fix return code on help and version
check_sensors: Fix return code on help and version
Diffstat (limited to 'plugins-scripts/check_log.sh')
-rwxr-xr-x | plugins-scripts/check_log.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh index c623a8d6..8ecdd316 100755 --- a/plugins-scripts/check_log.sh +++ b/plugins-scripts/check_log.sh | |||
@@ -105,11 +105,11 @@ 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" |
112 | exit "$STATE_OK" | 112 | exit "$STATE_UNKNOWN" |
113 | ;; | 113 | ;; |
114 | -F | --filename) | 114 | -F | --filename) |
115 | logfile=$2 | 115 | logfile=$2 |