fixed the outputs of the --versions options on 3 scripts

This commit is contained in:
MisterMountain 2023-04-11 16:26:12 +02:00
parent ac3032a0ba
commit 5af4db7b41
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -95,7 +95,7 @@ case "$cmd" in
;;
--version)
print_revision "$PROGNAME" "$REVISION"
exit "$STATE_OK"
exit "$STATE_UNKNOWN"
;;
-V)
print_revision "$PROGNAME" "$REVISION"

View file

@ -34,7 +34,7 @@ case "$1" in
;;
--version)
print_revision "$PROGNAME" "$REVISION"
exit "$STATE_OK"
exit "$STATE_UNKNOWN"
;;
-V)
print_revision "$PROGNAME" "$REVISION"