tokenizer = NULL;
if (NULL != testbed)
{
+ LOG_DEBUG ("Killing testbed\n");
GNUNET_break (0 == GNUNET_OS_process_kill (testbed, SIGTERM));
GNUNET_assert (GNUNET_OK == GNUNET_OS_process_wait (testbed));
GNUNET_OS_process_destroy (testbed);
if (0 != (GNUNET_SCHEDULER_REASON_SHUTDOWN & tc->reason))
return;
sread = GNUNET_DISK_file_read (stdin_fd, buf, sizeof (buf));
- if (GNUNET_SYSERR == sread)
+ if ((GNUNET_SYSERR == sread) || (0 == sread))
{
GNUNET_SCHEDULER_shutdown ();
return;
/**
- * Signal handler called for SIGCHLD. Triggers the
- * respective handler by writing to the trigger pipe.
+ * Signal handler called for SIGCHLD.
*/
static void
sighandler_child_death ()