mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
More for prev commit, note when closing DB
This commit is contained in:
parent
bc486f123d
commit
72145a7183
1 changed files with 6 additions and 0 deletions
|
|
@ -467,6 +467,9 @@ slapadd( int argc, char **argv )
|
|||
ch_free( buf );
|
||||
|
||||
if ( !dryrun ) {
|
||||
if ( enable_meter ) {
|
||||
fprintf( stderr, "Closing DB..." );
|
||||
}
|
||||
if( be->be_entry_close( be ) ) {
|
||||
rc = EXIT_FAILURE;
|
||||
}
|
||||
|
|
@ -474,6 +477,9 @@ slapadd( int argc, char **argv )
|
|||
if( be->be_sync ) {
|
||||
be->be_sync( be );
|
||||
}
|
||||
if ( enable_meter ) {
|
||||
fprintf( stderr, "\n" );
|
||||
}
|
||||
}
|
||||
|
||||
if ( slap_tool_destroy())
|
||||
|
|
|
|||
Loading…
Reference in a new issue