[PATCH] Better error message when exec'ing Xwayland fails
Pekka Paalanen
ppaalanen at gmail.com
Wed Jun 25 05:55:42 PDT 2014
On Fri, 20 Jun 2014 21:36:54 +0200
Arnout Engelen <arnouten at bzzt.net> wrote:
> ---
> xwayland/launcher.c | 6 +++++-
> 1 file changed, 5 insertions(+), 1 deletion(-)
>
> diff --git a/xwayland/launcher.c b/xwayland/launcher.c
> index 70703a4..bf1e17e 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);
>
Applied, thanks,
pq
More information about the wayland-devel
mailing list