]> 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>
Mon, 17 Apr 2023 04:52:59 +0000 (04:52 +0000)
Broken by 4fcd7f497577af361fc3313fbc07a61c14e17715

src/lib-login/login-server.c

index 53a8f85986996d72383bfb88c369dac41a3954b9..560eb8fccb227d77e08c1946ffc2833d7a7db180 100644 (file)
@@ -58,6 +58,9 @@ static void login_server_stop_new_connections(void *context)
 
 static void login_server_proctitle_refresh(struct login_server *server)
 {
+       if (!server->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. */