gnunet-svn
[Top][All Lists]
Advanced

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

[taler-exchange] branch master updated: can only return from a function


From: gnunet
Subject: [taler-exchange] branch master updated: can only return from a function or sourced script
Date: Fri, 10 Nov 2023 17:13:39 +0100

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

sebasjm pushed a commit to branch master
in repository exchange.

The following commit(s) were added to refs/heads/master by this push:
     new 757c9088 can only return from a function or sourced script
757c9088 is described below

commit 757c9088b9c0036fde44bab8c41fac1bce86206e
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Fri Nov 10 13:13:33 2023 -0300

    can only return from a function or sourced script
---
 src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh 
b/src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh
index 3f7ff793..51ec80dc 100755
--- a/src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh
+++ b/src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh
@@ -17,7 +17,7 @@ J=$(jq 
'{"id":.data.id,"first":.data.first_name,"last":.data.last_name,"birthdat
 STATUS=$(echo "$J" | jq -r '.status')
 if [ "$STATUS" != "success" ]
 then
-  return 1
+  exit 1
 fi
 
 FULLNAME=$(echo "$J" | jq -r '[.first,.last]|join(" ")')

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