diff options
author | Christian Grothoff <christian@grothoff.org> | 2023-07-14 22:32:37 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2023-07-14 22:32:37 +0200 |
commit | b8649f414c160fc2882977b0fe11fc272feb879d (patch) | |
tree | 1bc4c87367d9c1db5a1bab385bd21087154352cd /src/backend/taler-merchant-wirewatch.c | |
parent | ccb863d9287fefc52fdd792b374214cc2bd00812 (diff) |
bugfixes for wirewatch
Diffstat (limited to 'src/backend/taler-merchant-wirewatch.c')
-rw-r--r-- | src/backend/taler-merchant-wirewatch.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/backend/taler-merchant-wirewatch.c b/src/backend/taler-merchant-wirewatch.c index 03e317b0..23e5b4de 100644 --- a/src/backend/taler-merchant-wirewatch.c +++ b/src/backend/taler-merchant-wirewatch.c @@ -558,6 +558,14 @@ run (void *cls, GNUNET_SCHEDULER_shutdown (); return; } + if ( (0 == qs) && + (GNUNET_YES == test_mode) ) + { + GNUNET_log (GNUNET_ERROR_TYPE_INFO, + "No active wirewatch accounts in database and in test mode. Exiting.\n"); + GNUNET_SCHEDULER_shutdown (); + return; + } } } |