xwayland: Make failing to exec a fatal error

This commit is contained in:
Jasper St. Pierre 2014-04-02 13:03:29 -04:00
parent c4c0b5f0ab
commit 2a7d12ba14

View File

@ -398,8 +398,7 @@ meta_xwayland_start (MetaXWaylandManager *manager,
"-nolisten", "all",
NULL) < 0)
{
g_warning ("Failed to spawn XWayland: %m");
exit (EXIT_FAILURE);
g_error ("Failed to spawn XWayland: %m");
}
}
else if (manager->pid == -1)