]> git.sur5r.net Git - openldap/commitdiff
ITS#4291
authorLuke Howard <lukeh@openldap.org>
Sun, 8 Jan 2006 14:11:29 +0000 (14:11 +0000)
committerLuke Howard <lukeh@openldap.org>
Sun, 8 Jan 2006 14:11:29 +0000 (14:11 +0000)
servers/slapd/slapi/slapi_overlay.c

index 8310a74d496c3dc691d2425d1b2908ac18e30e20..1ffe35af6d74f2eb15c2bb9652000c5aa8156ed6 100644 (file)
@@ -881,7 +881,8 @@ int slapi_over_config( BackendDB *be )
                ldap_pvt_thread_mutex_init( &slapi_time_mutex );
                ldap_pvt_thread_mutex_init( &slapi_printmessage_mutex );
 
-               slapi_log_file = slapi_ch_strdup( LDAP_RUNDIR LDAP_DIRSEP "errors" );
+               if ( slapi_log_file == NULL )
+                       slapi_log_file = slapi_ch_strdup( LDAP_RUNDIR LDAP_DIRSEP "errors" );
 
                rc = slapi_int_init_object_extensions();
                if ( rc != 0 )