summaryrefslogtreecommitdiff
path: root/xwayland
diff options
context:
space:
mode:
authorArnout Engelen <arnouten@bzzt.net>2014-06-20 21:36:54 +0200
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-06-25 15:52:35 +0300
commit7da71eec4006ecddb14d35345d76b07c5edfb3f2 (patch)
tree033c646b7fa2411642ca833cda9b6bd53934fbe8 /xwayland
parent3b843d3a61286d4b2a9552a3a2cae80c6b1cf8cd (diff)
downloadweston-7da71eec4006ecddb14d35345d76b07c5edfb3f2.tar.gz
Better error message when exec'ing Xwayland fails
Diffstat (limited to 'xwayland')
-rw-r--r--xwayland/launcher.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/xwayland/launcher.c b/xwayland/launcher.c
index 70703a4b..bf1e17eb 100644
--- a/xwayland/launcher.c
+++ b/xwayland/launcher.c
@@ -117,7 +117,11 @@ weston_xserver_handle_event(int listen_fd, uint32_t mask, void *data)
"-wm", wm_fd,
"-terminate",
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:
_exit(EXIT_FAILURE);