let ldif2id2entry complete before allowing other children to start

This commit is contained in:
Gary Williams 1999-04-28 17:25:30 +00:00
parent dba57a312c
commit 41adaad0ad

View file

@ -58,6 +58,7 @@ main( int argc, char **argv )
int dbnum;
ID id;
int rc;
int cmdkids = 1;
Backend *be = NULL;
struct ldbminfo *li;
struct berval bv;
@ -87,7 +88,7 @@ main( int argc, char **argv )
break;
case 'j': /* number of parallel index procs */
maxkids = atoi( optarg );
cmdkids = atoi( optarg );
break;
case 'n': /* which config file db to index */
@ -170,6 +171,8 @@ main( int argc, char **argv )
args[i++] = NULL;
fork_child( cmd, args );
maxkids = cmdkids;
/*
* generate the dn2id and id2children indexes
*/