[PATCH] desktop-shell: print what failed on exec

Kristian Høgsberg krh at bitplanet.net
Fri Jan 27 08:33:20 PST 2012


On Fri, Jan 27, 2012 at 2:50 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>

That's a good improvement, thanks.
Kristian

> ---
>
> This is for both master and 0.85 branches.
>
> clients/desktop-shell.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/clients/desktop-shell.c b/clients/desktop-shell.c
> index a6a6147..4848449 100644
> --- a/clients/desktop-shell.c
> +++ b/clients/desktop-shell.c
> @@ -170,7 +170,7 @@ panel_launcher_activate(struct panel_launcher *widget)
>                return;
>
>        if (execl(widget->path, widget->path, NULL) < 0) {
> -               fprintf(stderr, "execl failed: %m\n");
> +               fprintf(stderr, "execl '%s' failed: %m\n", widget->path);
>                exit(1);
>        }
>  }
> --
> 1.7.3.4
>


More information about the wayland-devel mailing list