Line # | Revision | Author | |
---|---|---|---|
1 | 3 | ahitrov@rambler.ru | --- src/main/http_main.c Wed Jul 12 12:16:05 2006 |
2 | +++ src/main/http_main.c Tue Oct 10 18:40:12 2006 | ||
3 | @@ -3465,6 +3465,7 @@ | ||
4 | /* Don't detach for MPE because child processes can't survive the death of | ||
5 | the parent. */ | ||
6 | if (do_detach) { | ||
7 | + signal(SIGHUP, SIG_IGN); | ||
8 | if ((x = fork()) > 0) | ||
9 | exit(0); | ||
10 | else if (x == -1) { |