mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 16:16:20 -05:00
xwayland: Detect a fail to fork
This commit is contained in:
parent
8373c90cd8
commit
c4c0b5f0ab
@ -402,6 +402,10 @@ meta_xwayland_start (MetaXWaylandManager *manager,
|
||||
exit (EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
else if (manager->pid == -1)
|
||||
{
|
||||
g_error ("Failed to fork: %m");
|
||||
}
|
||||
|
||||
g_child_watch_add (manager->pid, xserver_died, NULL);
|
||||
manager->client = wl_client_create (wl_display, sp[0]);
|
||||
|
Loading…
Reference in New Issue
Block a user