diff options
author | Sebastian <sebasjm@gmail.com> | 2023-11-10 13:13:33 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-11-10 13:13:33 -0300 |
commit | 757c9088b9c0036fde44bab8c41fac1bce86206e (patch) | |
tree | 81617ad11888da1a712d282df649085c9cd02ed4 /src/kyclogic | |
parent | 01ccbda67da39532bba24822887cd00ff15bf4e0 (diff) | |
download | exchange-757c9088b9c0036fde44bab8c41fac1bce86206e.tar.xz |
can only return from a function or sourced script
Diffstat (limited to 'src/kyclogic')
-rwxr-xr-x | src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh b/src/kyclogic/taler-exchange-kyc-oauth2-test-converter.sh index 3f7ff793d..51ec80dc6 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(" ")') |