]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
welcome: Remove io_loop_stop() call in callback
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Mon, 7 Feb 2022 08:18:03 +0000 (09:18 +0100)
committerKarl Fleischmann <karl.fleischmann@open-xchange.com>
Mon, 7 Feb 2022 08:18:03 +0000 (09:18 +0100)
This is the responsibility of the program-client API and should not
happen in the plugin itself.

src/plugins/welcome/welcome-plugin.c

index bba6fe9c5dcbde7447ad41fcb6ba32b997eec30d..a4fa1c4b48c70602f8cce859d0afb460e868f4f1 100644 (file)
@@ -41,7 +41,6 @@ static void script_finish(int ret, struct program_client *client ATTR_UNUSED)
 {
        if (ret < 1)
                i_error("welcome: Execution failed");
-       io_loop_stop(current_ioloop);
 }
 
 static void script_execute(struct mail_user *user, const char *cmd, bool wait)