aboutsummaryrefslogtreecommitdiff
path: root/src/backend/taler-merchant-wirewatch.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2023-07-14 22:32:37 +0200
committerChristian Grothoff <christian@grothoff.org>2023-07-14 22:32:37 +0200
commitb8649f414c160fc2882977b0fe11fc272feb879d (patch)
tree1bc4c87367d9c1db5a1bab385bd21087154352cd /src/backend/taler-merchant-wirewatch.c
parentccb863d9287fefc52fdd792b374214cc2bd00812 (diff)
bugfixes for wirewatch
Diffstat (limited to 'src/backend/taler-merchant-wirewatch.c')
-rw-r--r--src/backend/taler-merchant-wirewatch.c8
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;
+ }
}
}