aboutsummaryrefslogtreecommitdiff
path: root/src/setup/gnunet-setup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/setup/gnunet-setup.c')
-rw-r--r--src/setup/gnunet-setup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/setup/gnunet-setup.c b/src/setup/gnunet-setup.c
index c425822f..f22a66fa 100644
--- a/src/setup/gnunet-setup.c
+++ b/src/setup/gnunet-setup.c
@@ -355,6 +355,7 @@ GNUNET_SETUP_restart_namestore (void *cls,
355 if (NULL != namestore) 355 if (NULL != namestore)
356 { 356 {
357 GNUNET_break (0 == GNUNET_OS_process_kill (namestore, SIGTERM)); 357 GNUNET_break (0 == GNUNET_OS_process_kill (namestore, SIGTERM));
358 GNUNET_break (GNUNET_OK == GNUNET_OS_process_wait (namestore));
358 GNUNET_OS_process_destroy (namestore); 359 GNUNET_OS_process_destroy (namestore);
359 namestore = NULL; 360 namestore = NULL;
360 } 361 }