diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/util/helper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/helper.c b/src/util/helper.c index bbcd77285..6ebc3a444 100644 --- a/src/util/helper.c +++ b/src/util/helper.c | |||
@@ -152,8 +152,8 @@ stop_helper (struct GNUNET_HELPER_Handle *h) | |||
152 | 152 | ||
153 | if (NULL != h->helper_proc) | 153 | if (NULL != h->helper_proc) |
154 | { | 154 | { |
155 | GNUNET_OS_process_kill (h->helper_proc, SIGTERM); | 155 | GNUNET_break (0 == GNUNET_OS_process_kill (h->helper_proc, SIGTERM)); |
156 | GNUNET_OS_process_wait (h->helper_proc); | 156 | GNUNET_break (GNUNET_OK == GNUNET_OS_process_wait (h->helper_proc)); |
157 | GNUNET_OS_process_close (h->helper_proc); | 157 | GNUNET_OS_process_close (h->helper_proc); |
158 | h->helper_proc = NULL; | 158 | h->helper_proc = NULL; |
159 | } | 159 | } |