From bd6e61db7f8e1ce6aa7d4bda370b75ad99733b31 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 29 Oct 2025 19:42:50 +0200 Subject: [PATCH] lib-master: If SIGINT idle-kill is ignored, make sure master sees the status update If initial write() to master status pipe fails with EAGAIN, try to send it when possible. --- src/lib-master/master-service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib-master/master-service.c b/src/lib-master/master-service.c index 0073b39055..75a021e476 100644 --- a/src/lib-master/master-service.c +++ b/src/lib-master/master-service.c @@ -121,7 +121,7 @@ static void sig_delayed_die(const siginfo_t *si, void *context) !service->idle_die_callback()) { /* we don't want to die - send a notification to master so it doesn't think we're ignoring it completely. */ - master_status_send(service, FALSE); + master_status_send(service, TRUE); return; } } -- 2.47.3