From f49db466c1c91bd12d2ad40dd23cc6404edd332d Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Fri, 14 Apr 2023 11:35:30 +0300 Subject: [PATCH] lib-login: Don't update process title if verbose_proctitle=no Broken by 4fcd7f497577af361fc3313fbc07a61c14e17715 --- src/lib-login/login-server.c | 3 +++ 1 file changed, 3 insertions(+) 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. */ -- 2.47.3