changeset 13071:7aaca0f14164

doveconf: Dump protocol/local/remote sections even if there was an error earlier. This allows getting a mostly-working config file rather than a truncated one.
author Timo Sirainen <tss@iki.fi>
date Wed, 14 Mar 2012 13:14:28 +0200
parents 769fa1dddbf1
children 8fe5568e2b00
files src/config/doveconf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/config/doveconf.c	Mon Mar 12 12:59:54 2012 +0200
+++ b/src/config/doveconf.c	Wed Mar 14 13:14:28 2012 +0200
@@ -430,7 +430,7 @@
 	ret = config_dump_human_output(ctx, output, 0, setting_name_filter);
 	config_dump_human_deinit(ctx);
 
-	if (ret == 0 && setting_name_filter == NULL)
+	if (setting_name_filter == NULL)
 		ret = config_dump_human_sections(output, filter, module);
 
 	o_stream_uncork(output);