Commit bfe6df6b authored by Howard Chu's avatar Howard Chu
Browse files

Don't signal error if reindexing an already existing dn2id index

parent fcce9bb2
......@@ -290,10 +290,8 @@ int ldbm_tool_entry_reindex(
id, e->e_dn, 0 );
#endif
rc = dn2id_add( be, e->e_ndn, e->e_id );
if( rc == 0 ) {
rc = index_entry_add( be, e, e->e_attrs );
}
dn2id_add( be, e->e_ndn, e->e_id );
rc = index_entry_add( be, e, e->e_attrs );
entry_free( e );
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment