$NetBSD: patch-aq,v 1.4 2010/07/19 21:21:25 markd Exp $ PR kern/43625 --- etc/cnid_dbd/cnid_metad.c.orig 2010-04-29 09:17:50.000000000 +0000 +++ etc/cnid_dbd/cnid_metad.c @@ -541,7 +541,7 @@ int main(int argc, char *argv[]) while (1) { rqstfd = usockfd_check(srvfd, &set); /* Collect zombie processes and log what happened to them */ - if (sigchild) while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { + while ((pid = waitpid(-1, &status, WNOHANG)) > 0) { for (i = 0; i < MAXVOLS; i++) { if (srv[i].pid == pid) { srv[i].pid = 0;