diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-07-15 21:22:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-07-15 21:22:44 +0200 |
commit | 8f0a4b6095fd05e101fc5389cc46ec211083979a (patch) | |
tree | c6aa6ef9f8bb7d7d9b573fe313de6b0b3f7be6df /src/auditor/taler-helper-auditor-aggregation.c | |
parent | 6cabb25d8d780949459382661fb318c32d76f992 (diff) | |
download | exchange-8f0a4b6095fd05e101fc5389cc46ec211083979a.tar.xz |
fix #6133: enable nice shutdown of auditor helpers with CTRL-C
Diffstat (limited to 'src/auditor/taler-helper-auditor-aggregation.c')
-rw-r--r-- | src/auditor/taler-helper-auditor-aggregation.c | 4 |
1 files changed, 4 insertions, 0 deletions
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; } |