From 7397030f707891cee2f362dd5b4e5d7f7504ecc2 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Thu, 21 Jul 2022 16:02:38 +0100 Subject: [PATCH] frontend: Don't log when an unknown child process exits This can happen and it's not an error condition. No reason to shout about it. Signed-off-by: Daniel Stone --- compositor/main.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/compositor/main.c b/compositor/main.c index 27be96a3d..41e20123f 100644 --- a/compositor/main.c +++ b/compositor/main.c @@ -355,10 +355,9 @@ sigchld_handler(int signal_number, void *data) break; } - if (&p->link == &wet->child_process_list) { - weston_log("unknown child process exited\n"); + /* An unknown child process exited. Oh well. */ + if (&p->link == &wet->child_process_list) continue; - } wl_list_remove(&p->link); wl_list_init(&p->link);