mirror of
https://gitlab.freedesktop.org/wayland/weston.git
synced 2026-05-05 01:48:00 +02:00
xwayland: Use _exit() when exec() fails
Similar to 3b64d6 but for when we fork the X server.
This commit is contained in:
parent
082d58c88d
commit
a58290b38b
1 changed files with 1 additions and 1 deletions
|
|
@ -72,7 +72,7 @@ weston_xserver_handle_event(int listen_fd, uint32_t mask, void *data)
|
|||
"-terminate",
|
||||
NULL) < 0)
|
||||
weston_log("exec failed: %m\n");
|
||||
exit(-1);
|
||||
_exit(EXIT_FAILURE);
|
||||
|
||||
default:
|
||||
weston_log("forked X server, pid %d\n", wxs->process.pid);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue