From dac02c7ef1655520ae64172757b04ae52ae006ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Ond=C5=99ej=20Kuzn=C3=ADk?= Date: Wed, 27 Jun 2018 10:32:04 +0100 Subject: [PATCH] ITS#8667 Do not finish glue initialisation in tool mode unless requested --- servers/slapd/backglue.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/backglue.c b/servers/slapd/backglue.c index fff3081b7e..2da793e466 100644 --- a/servers/slapd/backglue.c +++ b/servers/slapd/backglue.c @@ -1309,7 +1309,7 @@ glue_db_init( SLAP_DBFLAGS( be ) |= SLAP_DBFLAG_GLUE_INSTANCE; - if ( ga_list ) { + if ( ga_list && ( slapMode & SLAP_SERVER_MODE ) ) { be->bd_info = (BackendInfo *)oi; glue_sub_attach( 1 ); } -- 2.39.5