gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-merchant] 01/02: Terminate good process if CLI optio


From: gnunet
Subject: [GNUnet-SVN] [taler-merchant] 01/02: Terminate good process if CLI option is missing.
Date: Wed, 27 Jun 2018 16:10:37 +0200

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

marcello pushed a commit to branch master
in repository merchant.

commit f407c514fca6e58f3599f839be2f210b80aba472
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jun 27 12:07:01 2018 +0200

    Terminate good process if CLI option is missing.
---
 src/merchant-tools/taler-merchant-generate-payments-alt.c | 1 +
 src/merchant-tools/taler-merchant-generate-payments.c     | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/merchant-tools/taler-merchant-generate-payments-alt.c 
b/src/merchant-tools/taler-merchant-generate-payments-alt.c
index d37d45b..346d088 100644
--- a/src/merchant-tools/taler-merchant-generate-payments-alt.c
+++ b/src/merchant-tools/taler-merchant-generate-payments-alt.c
@@ -483,6 +483,7 @@ main (int argc,
   if (NULL == bank_url)
   {
     TALER_LOG_ERROR ("Option -b is mandatory!\n");
+    terminate_process (merchantd);
     return MISSING_BANK_URL;
   }
 
diff --git a/src/merchant-tools/taler-merchant-generate-payments.c 
b/src/merchant-tools/taler-merchant-generate-payments.c
index 29cddd8..d017d96 100644
--- a/src/merchant-tools/taler-merchant-generate-payments.c
+++ b/src/merchant-tools/taler-merchant-generate-payments.c
@@ -534,6 +534,7 @@ main (int argc,
   if (NULL == bank_url)
   {
     TALER_LOG_ERROR ("Option -b is mandatory!\n");
+    terminate_process (merchantd);
     return MISSING_BANK_URL;
   }
 

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

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