mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
lload_libevent_init can fail and wants to log
This commit is contained in:
parent
8d93e0baa0
commit
d22db36cea
1 changed files with 4 additions and 2 deletions
|
|
@ -383,8 +383,6 @@ main( int argc, char **argv )
|
|||
|
||||
slap_sl_mem_init();
|
||||
|
||||
(void)lload_libevent_init();
|
||||
|
||||
serverName = lutil_progname( "lloadd", argc, argv );
|
||||
|
||||
#ifdef HAVE_NT_SERVICE_MANAGER
|
||||
|
|
@ -632,6 +630,10 @@ unhandled_option:;
|
|||
|
||||
Debug( LDAP_DEBUG_ANY, "%s", Versionstr );
|
||||
|
||||
if ( lload_libevent_init() ) {
|
||||
goto stop;
|
||||
}
|
||||
|
||||
global_host = ldap_pvt_get_fqdn( NULL );
|
||||
|
||||
if ( check == CHECK_NONE && slapd_daemon_init( urls ) != 0 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue