]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/slapcat.c
test whether the current entry matches the current uri filter (ITS#6077); also, don...
[openldap] / servers / slapd / slapcat.c
index 6ea1952006502541080756408981bf00ea2f8039..a0f1d3c9977502ee137c090b79845584c815bba9 100644 (file)
@@ -1,7 +1,7 @@
 /* $OpenLDAP$ */
 /* This work is part of OpenLDAP Software <http://www.openldap.org/>.
  *
- * Copyright 1998-2008 The OpenLDAP Foundation.
+ * Copyright 1998-2009 The OpenLDAP Foundation.
  * Portions Copyright 1998-2003 Kurt D. Zeilenga.
  * Portions Copyright 2003 IBM Corporation.
  * All rights reserved.
@@ -134,6 +134,7 @@ slapcat( int argc, char **argv )
 
        be->be_entry_close( be );
 
-       slap_tool_destroy();
+       if ( slap_tool_destroy())
+               rc = EXIT_FAILURE;
        return rc;
 }