]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lib-login: Don't update process title if verbose_proctitle=no
authorTimo Sirainen <timo.sirainen@open-xchange.com>
Fri, 14 Apr 2023 08:35:30 +0000 (11:35 +0300)
committeraki.tuomi <aki.tuomi@open-xchange.com>
Sun, 14 May 2023 17:52:36 +0000 (17:52 +0000)
Broken by 4fcd7f497577af361fc3313fbc07a61c14e17715

src/lib-master/master-login.c

index a26af403c76e120b45709e1a09610d1f0719d256..1301e26a55782497bd603786726b396f23cebf19 100644 (file)
@@ -65,6 +65,8 @@ static void master_login_conn_unref(struct master_login_connection **_conn);
 
 static void login_server_proctitle_refresh(struct master_login *login)
 {
+       if (!login->update_proctitle)
+               return;
        /* This function assumes that client_limit=1. With a higher limit
           it just returns the first client's state, which isn't too bad
           either. */