From 0fa3715e0475491f5b6192b7700979b9d6beb020 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 10 Sep 2004 17:15:33 +0000 Subject: [PATCH] ITS#3326: fix slaptest shutdown --- servers/slapd/slapcommon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.39.5