]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
doveconf: Fix boollist output when using -h parameter
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 10 Mar 2025 16:47:51 +0000 (18:47 +0200)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Tue, 11 Mar 2025 08:45:55 +0000 (08:45 +0000)
Forgotten in 61e3708fb56a10e3020d6a4f155ad32167833488

src/config/doveconf.c

index 212c8f0140fca808d292c9ae74215b67409abe89..17dafbf00688d44802235416bf2259f1c4e6e819 100644 (file)
@@ -630,9 +630,7 @@ config_dump_human_output(struct config_dump_human_context *ctx,
                if (hide_key && value[0] == '=' && value[1] == '\0') {
                        /* There is no value that would need printing here,
                           continue with the next. */
-                       goto end;
-               }
-               if (hide_value)
+               } else if (hide_value)
                        ; /* boollist value was already written */
                else if (hide_passwords &&
                         hide_secrets_from_value(output, full_key, value+1))