]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveconf: Fix -N to not output default settings
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 26 Jan 2024 01:10:19 +0000 (03:10 +0200)
committerAki Tuomi <aki.tuomi@open-xchange.com>
Wed, 12 Feb 2025 10:34:11 +0000 (12:34 +0200)
src/config/doveconf.c

index 63b5531fd4781bf5efb157ef8f858dfc23f4e6f0..477e8b8b52839631b664d6bf68724a82cae2cd9b 100644 (file)
@@ -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,