summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_log.sh
diff options
context:
space:
mode:
authorLorenz <12514511+RincewindsHat@users.noreply.github.com>2023-05-02 10:39:20 +0200
committerGitHub <noreply@github.com>2023-05-02 10:39:20 +0200
commit72d34baf718e12a88e978c69369b96baf63ef97a (patch)
tree13cbafb4a2497a41cd83aa603006f8592614d855 /plugins-scripts/check_log.sh
parenta4be133f01a231dc45c98aabed35f96d6f826fd7 (diff)
parent21885d85d54ce2afe7b9bf962348dc60e31442e0 (diff)
downloadmonitoring-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-xplugins-scripts/check_log.sh4
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