aboutsummaryrefslogtreecommitdiff
path: root/src/util/scheduler.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2012-12-20 11:05:08 +0000
committerChristian Grothoff <christian@grothoff.org>2012-12-20 11:05:08 +0000
commitcfa67c9aeaed6abe679dffa7b3d631667f97158e (patch)
treeb69a98594449dc032b60413bd8cde18e408deed3 /src/util/scheduler.c
parentb52e5d7431557ef6f71e076ce5e3c2b34cbcf8fc (diff)
downloadgnunet-cfa67c9aeaed6abe679dffa7b3d631667f97158e.tar.gz
gnunet-cfa67c9aeaed6abe679dffa7b3d631667f97158e.zip
-must not log in signal handlers
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r--src/util/scheduler.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c
index 5a129947e..0adf9f0ae 100644
--- a/src/util/scheduler.c
+++ b/src/util/scheduler.c
@@ -642,8 +642,6 @@ sighandler_shutdown ()
642 if (getpid () != my_pid) 642 if (getpid () != my_pid)
643 exit (1); /* we have fork'ed since the signal handler was created, 643 exit (1); /* we have fork'ed since the signal handler was created,
644 * ignore the signal, see https://gnunet.org/vfork discussion */ 644 * ignore the signal, see https://gnunet.org/vfork discussion */
645 LOG (GNUNET_ERROR_TYPE_DEBUG,
646 "Got shutdown signal from parent, writing to shutdown pipe\n");
647 GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle 645 GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle
648 (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE), 646 (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE),
649 &c, sizeof (c)); 647 &c, sizeof (c));