[monitoring-plugins] fixed the outputs of the --versions options on 3 ...
MisterMountain
git at monitoring-plugins.org
Tue May 2 10:40:11 CEST 2023
Module: monitoring-plugins
Branch: master
Commit: 5af4db7b4169acee20bfa2d637ce3f3eb5bdef47
Author: MisterMountain <bjoern.berg at netways.de>
Date: Tue Apr 11 16:26:12 2023 +0200
URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=5af4db7
fixed the outputs of the --versions options on 3 scripts
---
plugins-scripts/check_log.sh | 2 +-
plugins-scripts/check_oracle.sh | 2 +-
plugins-scripts/check_sensors.sh | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/plugins-scripts/check_log.sh b/plugins-scripts/check_log.sh
index c623a8d..10c56f1 100755
--- a/plugins-scripts/check_log.sh
+++ b/plugins-scripts/check_log.sh
@@ -109,7 +109,7 @@ while test -n "$1"; do
;;
-V | --version)
print_revision "$PROGNAME" "$REVISION"
- exit "$STATE_OK"
+ exit "$STATE_UNKNOWN"
;;
-F | --filename)
logfile=$2
diff --git a/plugins-scripts/check_oracle.sh b/plugins-scripts/check_oracle.sh
index b14ec50..f340b97 100755
--- a/plugins-scripts/check_oracle.sh
+++ b/plugins-scripts/check_oracle.sh
@@ -95,7 +95,7 @@ case "$cmd" in
;;
--version)
print_revision "$PROGNAME" "$REVISION"
- exit "$STATE_OK"
+ exit "$STATE_UNKNOWN"
;;
-V)
print_revision "$PROGNAME" "$REVISION"
diff --git a/plugins-scripts/check_sensors.sh b/plugins-scripts/check_sensors.sh
index 921e7b3..3c4cf01 100755
--- a/plugins-scripts/check_sensors.sh
+++ b/plugins-scripts/check_sensors.sh
@@ -34,7 +34,7 @@ case "$1" in
;;
--version)
print_revision "$PROGNAME" "$REVISION"
- exit "$STATE_OK"
+ exit "$STATE_UNKNOWN"
;;
-V)
print_revision "$PROGNAME" "$REVISION"
More information about the Commits
mailing list