diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-06-26 13:12:19 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-06-26 13:12:19 +0000 |
commit | c5be52106e538e44266802e2f275692d672fe79c (patch) | |
tree | c05a062a6454408c702c840583b5b63b8e763674 | |
parent | e1ebbba39f793918c5f31935f5e19820ffd8ec7a (diff) | |
download | gnunet-gtk-c5be52106e538e44266802e2f275692d672fe79c.tar.gz gnunet-gtk-c5be52106e538e44266802e2f275692d672fe79c.zip |
-need to wait for namestore process to terminate
-rw-r--r-- | src/setup/gnunet-setup.c | 1 |
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 | } |