]> git.sur5r.net Git - openldap/commitdiff
always shutdown (slaptest was not)
authorPierangelo Masarati <ando@openldap.org>
Thu, 31 Mar 2005 19:34:36 +0000 (19:34 +0000)
committerPierangelo Masarati <ando@openldap.org>
Thu, 31 Mar 2005 19:34:36 +0000 (19:34 +0000)
servers/slapd/slapcommon.c

index a5120dfc3b513922b4f7b0406253ebfa5ade0470..1128ea8468d3f3d4e7a8d50d7aea3aa4ab262185 100644 (file)
@@ -580,7 +580,7 @@ startup:;
 
 void slap_tool_destroy( void )
 {
-       if ( !dryrun && be != NULL ) {
+       if ( !dryrun ) {
                slap_shutdown( be );
        }
        slap_destroy();