gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-challenger] branch master updated: exit_fail not defined, just im


From: gnunet
Subject: [taler-challenger] branch master updated: exit_fail not defined, just implement directly
Date: Sun, 24 Nov 2024 16:02:45 +0100

This is an automated email from the git hooks/post-receive script.

grothoff pushed a commit to branch master
in repository challenger.

The following commit(s) were added to refs/heads/master by this push:
     new c460ea3  exit_fail not defined, just implement directly
c460ea3 is described below

commit c460ea339b46d847ee56ede75cc379dea54fc2a7
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Sun Nov 24 16:02:43 2024 +0100

    exit_fail not defined, just implement directly
---
 contrib/challenger-dbconfig | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/contrib/challenger-dbconfig b/contrib/challenger-dbconfig
index 3321e72..6c275e9 100755
--- 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

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]