From: Matthias Wachs Date: Fri, 7 May 2010 14:29:13 +0000 (+0000) Subject: (no commit message) X-Git-Tag: initial-import-from-subversion-38251~21818 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=8d8ff94a474182d43f572014a1b9c6206d2adee6;p=oweals%2Fgnunet.git --- diff --git a/src/transport/test_plugin_transport_http.c b/src/transport/test_plugin_transport_http.c index f6807a7cc..94f32d5d9 100644 --- a/src/transport/test_plugin_transport_http.c +++ b/src/transport/test_plugin_transport_http.c @@ -162,6 +162,7 @@ shutdown_clean () GNUNET_assert (NULL == GNUNET_PLUGIN_unload ("libgnunet_plugin_transport_http", api)); GNUNET_SCHEDULER_shutdown(sched); + fail = GNUNET_NO; return; } @@ -352,6 +353,8 @@ main (int argc, char *const *argv) GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "Failed to kill statistics service"); fail = GNUNET_YES; } + if (GNUNET_OS_process_wait(pid) != GNUNET_OK) + GNUNET_log_strerror (GNUNET_ERROR_TYPE_WARNING, "waitpid"); GNUNET_log (GNUNET_ERROR_TYPE_INFO, "Killed statistics service\n"); return fail; }