From: Kurt Zeilenga Date: Fri, 10 Sep 2004 17:15:33 +0000 (+0000) Subject: ITS#3326: fix slaptest shutdown X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~553 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0fa3715e0475491f5b6192b7700979b9d6beb020;p=openldap ITS#3326: fix slaptest shutdown --- diff --git a/servers/slapd/slapcommon.c b/servers/slapd/slapcommon.c index 8e15145075..be318ed93b 100644 --- a/servers/slapd/slapcommon.c +++ b/servers/slapd/slapcommon.c @@ -532,7 +532,7 @@ startup:; void slap_tool_destroy( void ) { - if ( !dryrun ) { + if ( !dryrun && be != NULL ) { slap_shutdown( be ); } slap_destroy();