mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-06 02:17:59 +02:00
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 <daniels@collabora.com>
This commit is contained in:
parent
17331a0c7d
commit
7397030f70
1 changed files with 2 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue