diff options
Diffstat (limited to 'networking/httpd.c')
-rw-r--r-- | networking/httpd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 5e6037cbe..2c5455bf7 100644 --- a/networking/httpd.c +++ b/networking/httpd.c | |||
@@ -1457,6 +1457,11 @@ static void send_cgi_and_exit( | |||
1457 | } | 1457 | } |
1458 | } | 1458 | } |
1459 | #endif | 1459 | #endif |
1460 | /* restore default signal dispositions for CGI process */ | ||
1461 | signal(SIGCHLD, SIG_DFL); | ||
1462 | signal(SIGPIPE, SIG_DFL); | ||
1463 | signal(SIGHUP, SIG_DFL); | ||
1464 | |||
1460 | execv(fullpath, argv); | 1465 | execv(fullpath, argv); |
1461 | if (verbose) | 1466 | if (verbose) |
1462 | bb_perror_msg("exec %s", fullpath); | 1467 | bb_perror_msg("exec %s", fullpath); |