Commit 72145a71 authored by Howard Chu's avatar Howard Chu
Browse files

More for prev commit, note when closing DB

parent bc486f12
...@@ -467,6 +467,9 @@ slapadd( int argc, char **argv ) ...@@ -467,6 +467,9 @@ slapadd( int argc, char **argv )
ch_free( buf ); ch_free( buf );
if ( !dryrun ) { if ( !dryrun ) {
if ( enable_meter ) {
fprintf( stderr, "Closing DB..." );
}
if( be->be_entry_close( be ) ) { if( be->be_entry_close( be ) ) {
rc = EXIT_FAILURE; rc = EXIT_FAILURE;
} }
...@@ -474,6 +477,9 @@ slapadd( int argc, char **argv ) ...@@ -474,6 +477,9 @@ slapadd( int argc, char **argv )
if( be->be_sync ) { if( be->be_sync ) {
be->be_sync( be ); be->be_sync( be );
} }
if ( enable_meter ) {
fprintf( stderr, "\n" );
}
} }
if ( slap_tool_destroy()) if ( slap_tool_destroy())
......
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