aboutsummaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-01-25 10:25:25 +0000
committerChristian Grothoff <christian@grothoff.org>2012-01-25 10:25:25 +0000
commit457d13eed633d727fc2c93bd8d977f970c08b977 (patch)
tree4d540831921f75ef8c0905729c3adb1601b899b8 /src/util
parent1ef2fb4f10b28baba861357efe2593e2a735ffdf (diff)
downloadgnunet-457d13eed633d727fc2c93bd8d977f970c08b977.tar.gz
gnunet-457d13eed633d727fc2c93bd8d977f970c08b977.zip
-check return value
Diffstat (limited to 'src/util')
-rw-r--r--src/util/helper.c4
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 }