From 457d13eed633d727fc2c93bd8d977f970c08b977 Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Wed, 25 Jan 2012 10:25:25 +0000 Subject: [PATCH] -check return value --- src/util/helper.c | 4 ++-- 1 file 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) if (NULL != h->helper_proc) { - GNUNET_OS_process_kill (h->helper_proc, SIGTERM); - GNUNET_OS_process_wait (h->helper_proc); + GNUNET_break (0 == GNUNET_OS_process_kill (h->helper_proc, SIGTERM)); + GNUNET_break (GNUNET_OK == GNUNET_OS_process_wait (h->helper_proc)); GNUNET_OS_process_close (h->helper_proc); h->helper_proc = NULL; } -- 2.25.1