[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-exchange] branch master updated: -fix crash if dbinit is not foun
From: |
gnunet |
Subject: |
[taler-exchange] branch master updated: -fix crash if dbinit is not found |
Date: |
Mon, 19 Dec 2022 13:01:15 +0100 |
This is an automated email from the git hooks/post-receive script.
grothoff pushed a commit to branch master
in repository exchange.
The following commit(s) were added to refs/heads/master by this push:
new a03e4fa7 -fix crash if dbinit is not found
a03e4fa7 is described below
commit a03e4fa72fad4c30bac9719fbfea39947f0bf646
Author: Christian Grothoff <christian@grothoff.org>
AuthorDate: Mon Dec 19 13:01:10 2022 +0100
-fix crash if dbinit is not found
---
src/benchmark/taler-bank-benchmark.c | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git a/src/benchmark/taler-bank-benchmark.c
b/src/benchmark/taler-bank-benchmark.c
index 6a1af1f2..e13ee520 100644
--- a/src/benchmark/taler-bank-benchmark.c
+++ b/src/benchmark/taler-bank-benchmark.c
@@ -560,6 +560,17 @@ parallel_benchmark (void)
"-c", cfg_filename,
"-r",
NULL);
+ if (NULL == dbinit)
+ {
+ if (NULL != bankd)
+ {
+ GNUNET_OS_process_kill (bankd,
+ SIGTERM);
+ GNUNET_OS_process_destroy (bankd);
+ bankd = NULL;
+ }
+ return GNUNET_SYSERR;
+ }
GNUNET_break (GNUNET_OK ==
GNUNET_OS_process_wait (dbinit));
GNUNET_OS_process_destroy (dbinit);
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [taler-exchange] branch master updated: -fix crash if dbinit is not found,
gnunet <=