revert wait zombie, it have as linux-specific signal(SIG_CHLD,SIG_IGN) already, do not confuse me\!
This commit is contained in:
parent
11d7c52912
commit
7090800870
@ -1877,9 +1877,6 @@ static int miniHttpd(int server)
|
||||
handleIncoming();
|
||||
if(!config->debugHttpd)
|
||||
exit(0);
|
||||
} else {
|
||||
if(!config->debugHttpd)
|
||||
wait(NULL);
|
||||
}
|
||||
close(s);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user