[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-merchant] 04/04: terminate bank and merchant when do
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-merchant] 04/04: terminate bank and merchant when done. |
Date: |
Tue, 08 May 2018 23:52:57 +0200 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository merchant.
commit bf9076aa6dc591e24c2890cc3fd07ffb6c00445b
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue May 8 16:30:08 2018 +0200
terminate bank and merchant when done.
---
src/merchant-tools/taler-merchant-generate-payments_new.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/merchant-tools/taler-merchant-generate-payments_new.c
b/src/merchant-tools/taler-merchant-generate-payments_new.c
index 5d83206..67a1a48 100644
--- a/src/merchant-tools/taler-merchant-generate-payments_new.c
+++ b/src/merchant-tools/taler-merchant-generate-payments_new.c
@@ -46,7 +46,7 @@
/**
* Exit code.
*/
-unsigned int result = 1;
+unsigned int result;
/**
* Merchant process.
@@ -219,5 +219,8 @@ main (int argc,
NULL,
default_config_file);
- return result;
+ terminate_process (bankd);
+ terminate_process (merchantd);
+
+ return (GNUNET_OK == result) ? 0 : result;
}
--
To stop receiving notification emails like this one, please contact
address@hidden