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

dovecot at dovecot.org dovecot at dovecot.org
Sun May 20 03:26:27 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.2/rev/b0ef6e05a15d
changeset: 14336:b0ef6e05a15d
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 1883074f9a9d -r b0ef6e05a15d src/config/doveconf.c
--- a/src/config/doveconf.c	Tue Mar 13 21:19:53 2012 +0200
+++ b/src/config/doveconf.c	Wed Mar 14 13:14:28 2012 +0200
@@ -434,7 +434,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