mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
Fix prev commit - slapdn should not start any databases
This commit is contained in:
parent
7b72a9bc99
commit
884ebf9142
@ -580,7 +580,8 @@ startup:;
|
|||||||
mal_leaktrace(1);
|
mal_leaktrace(1);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if ( !dryrun && slap_startup( be ) ) {
|
/* slapdn doesn't specify a backend to startup */
|
||||||
|
if ( !dryrun && tool != SLAPDN && slap_startup( be ) ) {
|
||||||
switch ( tool ) {
|
switch ( tool ) {
|
||||||
case SLAPTEST:
|
case SLAPTEST:
|
||||||
fprintf( stderr, "slap_startup failed "
|
fprintf( stderr, "slap_startup failed "
|
||||||
|
Loading…
Reference in New Issue
Block a user