diff options
Diffstat (limited to 'src/util/scheduler.c')
-rw-r--r-- | src/util/scheduler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/scheduler.c b/src/util/scheduler.c index dd0d5d5cf..3bd7ccec7 100644 --- a/src/util/scheduler.c +++ b/src/util/scheduler.c | |||
@@ -658,8 +658,8 @@ sighandler_shutdown () | |||
658 | int old_errno = errno; /* backup errno */ | 658 | int old_errno = errno; /* backup errno */ |
659 | 659 | ||
660 | if (getpid () != my_pid) | 660 | if (getpid () != my_pid) |
661 | exit (1); /* we have fork'ed since the signal handler was created, | 661 | _exit (1); /* we have fork'ed since the signal handler was created, |
662 | * ignore the signal, see https://gnunet.org/vfork discussion */ | 662 | * ignore the signal, see https://gnunet.org/vfork discussion */ |
663 | GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle | 663 | GNUNET_DISK_file_write (GNUNET_DISK_pipe_handle |
664 | (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE), | 664 | (shutdown_pipe_handle, GNUNET_DISK_PIPE_END_WRITE), |
665 | &c, sizeof (c)); | 665 | &c, sizeof (c)); |