diff options
Diffstat (limited to 'src/testbed/gnunet-helper-testbed.c')
-rw-r--r-- | src/testbed/gnunet-helper-testbed.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/testbed/gnunet-helper-testbed.c b/src/testbed/gnunet-helper-testbed.c index f89d8af8f..43040e146 100644 --- a/src/testbed/gnunet-helper-testbed.c +++ b/src/testbed/gnunet-helper-testbed.c | |||
@@ -166,7 +166,7 @@ shutdown_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
166 | if (NULL != testbed) | 166 | if (NULL != testbed) |
167 | { | 167 | { |
168 | LOG_DEBUG ("Killing testbed\n"); | 168 | LOG_DEBUG ("Killing testbed\n"); |
169 | GNUNET_break (0 == GNUNET_OS_process_kill (testbed, SIGTERM)); | 169 | GNUNET_break (0 == GNUNET_OS_process_kill (testbed, GNUNET_TERM_SIG)); |
170 | } | 170 | } |
171 | if (GNUNET_SCHEDULER_NO_TASK != read_task_id) | 171 | if (GNUNET_SCHEDULER_NO_TASK != read_task_id) |
172 | { | 172 | { |
@@ -298,7 +298,7 @@ child_death_task (void *cls, const struct GNUNET_SCHEDULER_TaskContext *tc) | |||
298 | GNUNET_OS_process_destroy (testbed); | 298 | GNUNET_OS_process_destroy (testbed); |
299 | testbed = NULL; | 299 | testbed = NULL; |
300 | /* Send SIGTERM to our process group */ | 300 | /* Send SIGTERM to our process group */ |
301 | if (0 != PLIBC_KILL (0, SIGTERM)) | 301 | if (0 != PLIBC_KILL (0, GNUNET_TERM_SIG)) |
302 | { | 302 | { |
303 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "signal"); | 303 | GNUNET_log_strerror (GNUNET_ERROR_TYPE_ERROR, "signal"); |
304 | shutdown_now (); /* Couldn't send the signal, we shutdown frowning */ | 304 | shutdown_now (); /* Couldn't send the signal, we shutdown frowning */ |