From c7abc6310dd4738acd1e8a1638ffdbaa08052995 Mon Sep 17 00:00:00 2001 From: Mark Adamson Date: Fri, 18 Aug 2000 16:58:46 +0000 Subject: [PATCH] Fix the logic for checking if backend DB has all necessary functions. --- servers/slapd/tools/slapindex.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/servers/slapd/tools/slapindex.c b/servers/slapd/tools/slapindex.c index 867e244cbd..86aff99b4c 100644 --- a/servers/slapd/tools/slapindex.c +++ b/servers/slapd/tools/slapindex.c @@ -24,10 +24,10 @@ main( int argc, char **argv ) slap_tool_init( "slapindex", SLAPINDEX, argc, argv ); - if( !be->be_entry_open && - !be->be_entry_close && - !be->be_entry_first && - !be->be_entry_next && + if( !be->be_entry_open || + !be->be_entry_close || + !be->be_entry_first || + !be->be_entry_next || !be->be_entry_reindex ) { fprintf( stderr, "%s: database doesn't support necessary operations.\n", -- 2.39.5