From: Timo Sirainen Date: Fri, 14 Apr 2023 08:35:30 +0000 (+0300) Subject: lib-login: Don't update process title if verbose_proctitle=no X-Git-Tag: 2.4.0~2799 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f49db466c1c91bd12d2ad40dd23cc6404edd332d;p=thirdparty%2Fdovecot%2Fcore.git lib-login: Don't update process title if verbose_proctitle=no Broken by 4fcd7f497577af361fc3313fbc07a61c14e17715 --- diff --git a/src/lib-login/login-server.c b/src/lib-login/login-server.c index 53a8f85986..560eb8fccb 100644 --- a/src/lib-login/login-server.c +++ b/src/lib-login/login-server.c @@ -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. */