--- loader/init.c | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/loader/init.c b/loader/init.c index d8f5eb5..ce4ac93 100644 --- a/loader/init.c +++ b/loader/init.c @@ -458,6 +458,13 @@ static void copyErrorFn (char *msg) { printf(msg); } +void initSigChildHandler(int signum) { + int ret; + pid_t pid; + + pid = wait(&ret); +} + void initSegvHandler(int signum) { void *array[30]; size_t i; @@ -553,6 +560,9 @@ int main(int argc, char **argv) { /* set up signal handler */ setupBacktrace(); + /* set up SIGCHLD handler */ + signal(SIGCHLD, initSigChildHandler); + printstr("\nGreetings.\n"); printf("anaconda installer init version %s starting\n", VERSION); -- 1.6.6.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list