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

Pekka Paalanen ppaalanen at gmail.com
Thu Jan 26 23:50:02 PST 2012


Signed-off-by: Pekka Paalanen <ppaalanen at gmail.com>
---

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