summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPekka Paalanen <ppaalanen@gmail.com>2012-01-27 09:50:02 +0200
committerKristian Høgsberg <krh@bitplanet.net>2012-01-27 11:33:07 -0500
commita291ae55b0833626b7207496cd6bc7ef864dc921 (patch)
treeceed966afab6a0a93493d181a330d7bc2fdcad2a
parente018b04c40a653f1aa8d0d326270b43e5ef0457b (diff)
desktop-shell: print what failed on exec
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
-rw-r--r--clients/desktop-shell.c2
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);
}
}