Skip to content
Snippets Groups Projects
Commit be472fd8 authored by Howard Chu's avatar Howard Chu Committed by Quanah Gibson-Mount
Browse files

ITS#7142 fix slapadd exit on failure

parent 2feedcc2
No related branches found
No related tags found
No related merge requests found
......@@ -448,9 +448,11 @@ slapadd( int argc, char **argv )
}
if ( slap_tool_thread_max > 1 ) {
ldap_pvt_thread_mutex_lock( &add_mutex );
add_stop = 1;
trec.ready = 0;
ldap_pvt_thread_cond_signal( &add_cond );
ldap_pvt_thread_mutex_unlock( &add_mutex );
ldap_pvt_thread_join( thr, NULL );
}
......
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