*/
static GNUNET_SCHEDULER_TaskIdentifier child_restart_task;
-/**
- * Context for our SIGCHILD handler.
- */
-static struct GNUNET_SIGNAL_Context *shc_chld;
+
/**
* Pipe used to communicate shutdown via signal.
(in_shutdown) )
{
GNUNET_SERVER_destroy (server);
- GNUNET_SIGNAL_handler_uninstall (shc_chld);
- shc_chld = NULL;
}
else
{
main (int argc, char *const *argv)
{
int ret;
+ struct GNUNET_SIGNAL_Context *shc_chld;
sigpipe = GNUNET_DISK_pipe (GNUNET_NO, GNUNET_NO, GNUNET_NO);
GNUNET_assert (sigpipe != NULL);