*/
cp = (client *)malloc(sizeof *cp);
bzero(cp, sizeof(*cp));
- cp->state = CL_STARTING;
cp->action = CL_ACCEPT;
cp->con = newconn;
cp->id = counter++;
union wait status;
int pid;
+ if (takedown)
+ return;
while ((pid = wait3(&status, WNOHANG, (struct rusage *)0)) > 0) {
if (status.w_termsig == 0 && status.w_retcode == 0)
com_err(whoami, 0, "dcm started successfully");