Skip to content
Snippets Groups Projects
Commit 41adaad0 authored by Gary Williams's avatar Gary Williams
Browse files

let ldif2id2entry complete before allowing other children to start

parent dba57a31
No related branches found
No related tags found
No related merge requests found
......@@ -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
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment