diff options
-rw-r--r-- | src/testing/test_testing.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/testing/test_testing.c b/src/testing/test_testing.c index 4a014de66..925579a71 100644 --- a/src/testing/test_testing.c +++ b/src/testing/test_testing.c | |||
@@ -31,7 +31,12 @@ static int ok; | |||
31 | static void | 31 | static void |
32 | end_cb (void *cls, const char *emsg) | 32 | end_cb (void *cls, const char *emsg) |
33 | { | 33 | { |
34 | GNUNET_assert (emsg == NULL); | 34 | if (emsg != NULL) |
35 | { | ||
36 | fprintf (stderr, "Error terminaing daemon: `%s'\n", | ||
37 | emsg); | ||
38 | return; | ||
39 | } | ||
35 | #if VERBOSE | 40 | #if VERBOSE |
36 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Daemon terminated, will now exit.\n"); | 41 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Daemon terminated, will now exit.\n"); |
37 | #endif | 42 | #endif |