From: Howard Chu Date: Thu, 5 Feb 2009 10:39:47 +0000 (+0000) Subject: More for prev commit, note when closing DB X-Git-Tag: ACLCHECK_0~884 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=72145a7183b7428f3a6b4c7c995858c471844a88;p=openldap More for prev commit, note when closing DB --- diff --git a/servers/slapd/slapadd.c b/servers/slapd/slapadd.c index 211fa6386e..383b6487cc 100644 --- a/servers/slapd/slapadd.c +++ b/servers/slapd/slapadd.c @@ -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())