dovecot-2.0: doveconf: Dump protocol/local/remote sections even ...

dovecot at dovecot.org dovecot at dovecot.org
Wed Mar 14 13:14:55 EET 2012


details:   http://hg.dovecot.org/dovecot-2.0/rev/7aaca0f14164
changeset: 13071:7aaca0f14164
user:      Timo Sirainen <tss at iki.fi>
date:      Wed Mar 14 13:14:28 2012 +0200
description:
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.

diffstat:

 src/config/doveconf.c |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 769fa1dddbf1 -r 7aaca0f14164 src/config/doveconf.c
--- 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);


More information about the dovecot-cvs mailing list