From f28d9e800ff305c5fd241c21d5e633e2fcd901cd Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 14 Jul 2007 00:12:47 +0000 Subject: [PATCH] Fix mirrormode/tool mode --- servers/slapd/syncrepl.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 7b49e6eda7..00e2cfeb04 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -3782,6 +3782,9 @@ add_syncrepl( else rc = -1; } + } else { + /* mirrormode still needs to see this flag in tool mode */ + rc = config_sync_shadow( c ) ? -1 : 0; } } -- 2.39.5