From 8f0a4b6095fd05e101fc5389cc46ec211083979a Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 15 Jul 2020 21:22:44 +0200 Subject: fix #6133: enable nice shutdown of auditor helpers with CTRL-C --- src/auditor/taler-helper-auditor-aggregation.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/auditor/taler-helper-auditor-aggregation.c') diff --git a/src/auditor/taler-helper-auditor-aggregation.c b/src/auditor/taler-helper-auditor-aggregation.c index 2a56971d8..e3e840e8e 100644 --- a/src/auditor/taler-helper-auditor-aggregation.c +++ b/src/auditor/taler-helper-auditor-aggregation.c @@ -1176,11 +1176,15 @@ check_wire_out_cb (void *cls, TALER_JSON_from_amount (&final_amount), "claimed", TALER_JSON_from_amount (amount))); + if (TALER_ARL_do_abort ()) + return GNUNET_SYSERR; return GNUNET_OK; } GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Aggregation unit %s is OK\n", TALER_B2S (wtid)); + if (TALER_ARL_do_abort ()) + return GNUNET_SYSERR; return GNUNET_OK; } -- cgit v1.2.3