Better error message when exec'ing Xwayland fails
This commit is contained in:
committed by
Pekka Paalanen
parent
3b843d3a61
commit
7da71eec40
+5
-1
@@ -117,7 +117,11 @@ weston_xserver_handle_event(int listen_fd, uint32_t mask, void *data)
|
|||||||
"-wm", wm_fd,
|
"-wm", wm_fd,
|
||||||
"-terminate",
|
"-terminate",
|
||||||
NULL) < 0)
|
NULL) < 0)
|
||||||
weston_log("exec failed: %m\n");
|
weston_log("exec of '%s %s -rootless "
|
||||||
|
"-listen %s -listen %s -wm %s "
|
||||||
|
"-terminate' failed: %m\n",
|
||||||
|
xserver, display,
|
||||||
|
abstract_fd, unix_fd, wm_fd);
|
||||||
fail:
|
fail:
|
||||||
_exit(EXIT_FAILURE);
|
_exit(EXIT_FAILURE);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user