challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

commit c460ea339b46d847ee56ede75cc379dea54fc2a7
parent 9431bbd6a50ee6b2c7b82be43914722e9f59d131
Author: Christian Grothoff <christian@grothoff.org>
Date:   Sun, 24 Nov 2024 16:02:43 +0100

exit_fail not defined, just implement directly

Diffstat:
Mcontrib/challenger-dbconfig | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/contrib/challenger-dbconfig b/contrib/challenger-dbconfig @@ -25,6 +25,8 @@ DBUSER="challenger-httpd" DBNAME="challenger" CFGFILE="/etc/challenger/challenger.conf" + + # Parse command-line options while getopts ':hn:rsu:' OPTION; do case "$OPTION" in @@ -53,7 +55,8 @@ while getopts ':hn:rsu:' OPTION; do DBUSER="$OPTARG" ;; ?) - exit_fail "Unrecognized command line option" + echo "Unrecognized command line option" 1>&2 + exit 1 ;; esac done