aboutsummaryrefslogtreecommitdiff
path: root/src/testing/testing.c
diff options
context:
space:
mode:
authorSree Harsha Totakura <totakura@in.tum.de>2013-06-24 12:47:41 +0000
committerSree Harsha Totakura <totakura@in.tum.de>2013-06-24 12:47:41 +0000
commit1e007a89197769e4e0f5ad36b583689a27f33cac (patch)
tree0fd01027c4f1feb0e6f9480d3a234fc9f3f35cea /src/testing/testing.c
parent3d046f081a476705931e0e27fe678936b2ed2f05 (diff)
downloadgnunet-1e007a89197769e4e0f5ad36b583689a27f33cac.tar.gz
gnunet-1e007a89197769e4e0f5ad36b583689a27f33cac.zip
- coverity fixes
Diffstat (limited to 'src/testing/testing.c')
-rw-r--r--src/testing/testing.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/testing/testing.c b/src/testing/testing.c
index d73d5ece3..898af1674 100644
--- a/src/testing/testing.c
+++ b/src/testing/testing.c
@@ -512,7 +512,9 @@ static void
512stop_shared_service_instance (struct SharedServiceInstance *i) 512stop_shared_service_instance (struct SharedServiceInstance *i)
513{ 513{
514 GNUNET_break (0 == i->n_refs); 514 GNUNET_break (0 == i->n_refs);
515 GNUNET_OS_process_kill (i->proc, SIGTERM); 515 if (0 != GNUNET_OS_process_kill (i->proc, SIGTERM))
516 LOG (GNUNET_ERROR_TYPE_WARNING,
517 "Killing shared service instance (%s) failed\n", i->ss->sname);
516 (void) GNUNET_OS_process_wait (i->proc); 518 (void) GNUNET_OS_process_wait (i->proc);
517 GNUNET_OS_process_destroy (i->proc); 519 GNUNET_OS_process_destroy (i->proc);
518 i->proc = NULL; 520 i->proc = NULL;