[Reconnoiter-devel] Patch for socket nits
Dale Ghent
daleg at elemental.org
Thu Aug 13 15:41:54 EDT 2009
On Aug 13, 2009, at 3:15 PM, Theo Schlossnagle wrote:
> Yes, but it should be dead:
>
> kill(SIGKILL, info->child);
> if(waitpid(info->child, &rv, 0) != info->child) {
> noitL(noit_error, "Failed to reap IEP daemon\n");
> exit(-1);
> }
Well for starters the arguments to kill() are backwards ;)
int kill(pid_t pid, int sig);
With that fixed the error handler just loops, killing and restarting
the JVM.
Which makes me wonder how or why I'm getting to that place in the
first place...
/dale
More information about the Reconnoiter-devel
mailing list