gnunet-svn
[Top][All Lists]
Advanced

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

[taler-taler-mdb] branch master updated: give backend-no-webserver inste


From: gnunet
Subject: [taler-taler-mdb] branch master updated: give backend-no-webserver instead of backend-x509-cert-bad if http & improper routing
Date: Sun, 04 Aug 2024 20:38:25 +0200

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

nora-grothoff pushed a commit to branch master
in repository taler-mdb.

The following commit(s) were added to refs/heads/master by this push:
     new 82763ba  give backend-no-webserver instead of backend-x509-cert-bad if 
http & improper routing
82763ba is described below

commit 82763ba87b3b83373a90242936b43d0dec96b7eb
Author: Nullptrderef <nullptrderef@proton.me>
AuthorDate: Sun Aug 4 20:38:21 2024 +0200

    give backend-no-webserver instead of backend-x509-cert-bad if http & 
improper routing
---
 contrib/taler-mdb-network-check.sh | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/contrib/taler-mdb-network-check.sh 
b/contrib/taler-mdb-network-check.sh
index db71fd1..afac5dd 100755
--- a/contrib/taler-mdb-network-check.sh
+++ b/contrib/taler-mdb-network-check.sh
@@ -153,12 +153,17 @@ function check_network()
             show_failure backend-no-webserver
             return
         fi
-    fi
-
-    if ! wget "${DEF_BACKEND}config" -O /dev/null &> /dev/null
-    then
-        show_failure backend-x509-cert-bad
-        return
+        if ! wget "${DEF_BACKEND}config" -O /dev/null &> /dev/null
+        then
+            show_failure backend-x509-cert-bad
+            return
+        fi
+    else
+        if ! wget "${DEF_BACKEND}config" -O /dev/null &> /dev/null
+        then
+            show_failure backend-no-webserver
+            return
+        fi
     fi
 
     HAVE_PRODUCT=0

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