no zombies
This commit is contained in:
parent
134c20c605
commit
ef2eeaf3bd
1 changed files with 1 additions and 1 deletions
|
|
@ -389,7 +389,7 @@ main(int argc, char **argv)
|
||||||
for(;;){
|
for(;;){
|
||||||
if((lcfd = listen(adir, ldir)) < 0)
|
if((lcfd = listen(adir, ldir)) < 0)
|
||||||
exits("can't listen");
|
exits("can't listen");
|
||||||
switch(fork()){
|
switch(rfork(RFPROC|RFFDG|RFNOWAIT)){
|
||||||
case -1:
|
case -1:
|
||||||
fprint(2, "secstore forking: %r\n");
|
fprint(2, "secstore forking: %r\n");
|
||||||
close(lcfd);
|
close(lcfd);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue