Re: svn commit: r254440 - head/usr.sbin/rwhod

2013-08-19 Thread Mario Oshogbo
> When the parent process is killed, the child process will be an child > process of init, not a zombie, and init calls waitpid() when it > terminates (by SIGTERM, for example). I agree that this should be > improved, but I do not think removing fallback to fork(2) is a good > idea if PROCDES

Re: svn commit: r254440 - head/usr.sbin/rwhod

2013-08-19 Thread Hiroki Sato
Mario Oshogbo wrote in <521267c2.60...@freebsd.org>: os> Thank you for your commit and sorry for not repair this problem earlier. os> os> > @@ -274,6 +274,15 @@ main(int argc, char *argv[]) os> > exit(1); os> > if (!quiet_mode) { os> > pid_child_receiver = pdfork(&fdp, 0);

Re: svn commit: r254440 - head/usr.sbin/rwhod

2013-08-19 Thread Mario Oshogbo
Thank you for your commit and sorry for not repair this problem earlier. > @@ -274,6 +274,15 @@ main(int argc, char *argv[]) > exit(1); > if (!quiet_mode) { > pid_child_receiver = pdfork(&fdp, 0); > + if (pid_child_receiver == -1) { > +