diff --git a/src/wayland/meta-xwayland.c b/src/wayland/meta-xwayland.c index 72be3525e..2904965af 100644 --- a/src/wayland/meta-xwayland.c +++ b/src/wayland/meta-xwayland.c @@ -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]);