From: Timo Sirainen Date: Fri, 26 Jan 2024 01:10:19 +0000 (+0200) Subject: doveconf: Fix -N to not output default settings X-Git-Tag: 2.4.1~1136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7457c467d3d83793495ca49aa27856468ee3b59e;p=thirdparty%2Fdovecot%2Fcore.git doveconf: Fix -N to not output default settings --- diff --git a/src/config/doveconf.c b/src/config/doveconf.c index 63b5531fd4..477e8b8b52 100644 --- a/src/config/doveconf.c +++ b/src/config/doveconf.c @@ -711,7 +711,7 @@ config_dump_human(enum config_dump_scope scope, t_strsplit(setting_name_filter, "/"); if (scope == CONFIG_DUMP_SCOPE_CHANGED) scope = CONFIG_DUMP_SCOPE_SET; - else + else if (scope != CONFIG_DUMP_SCOPE_SET) scope = CONFIG_DUMP_SCOPE_SET_AND_DEFAULT_OVERRIDES; config_dump_human_filter_path(scope, set_filter_path, filter_parser->children_head, output, 0,