]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
welcome: Supply noreply-parameter to program client creation
authorKarl Fleischmann <karl.fleischmann@open-xchange.com>
Mon, 7 Feb 2022 08:20:34 +0000 (09:20 +0100)
committerKarl Fleischmann <karl.fleischmann@open-xchange.com>
Mon, 7 Feb 2022 13:04:50 +0000 (14:04 +0100)
Use the appropriate noreply parameter when initializing the program
client to implement the behavior as it was configured.

src/plugins/welcome/welcome-plugin.c

index ca391210447e3defd40a865b44d93faa4ed15017..b96c914a06a70c09ce45ee5f9262976c1c8f7ab8 100644 (file)
@@ -70,7 +70,7 @@ static void script_execute(struct mail_user *user, const char *cmd, bool wait)
        }
 
        struct welcome_client_list *wclient = i_new(struct welcome_client_list, 1);
-       wclient->client = program_client_unix_create(socket_path, args, &set, TRUE);
+       wclient->client = program_client_unix_create(socket_path, args, &set, !wait);
 
        if (wait) {
                enum program_client_exit_status ret =