desktop-shell: print what failed on exec
authorPekka Paalanen <ppaalanen@gmail.com>
Fri, 27 Jan 2012 07:50:02 +0000 (09:50 +0200)
committerKristian Høgsberg <krh@bitplanet.net>
Fri, 27 Jan 2012 16:33:07 +0000 (11:33 -0500)
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
clients/desktop-shell.c

index a6a6147..4848449 100644 (file)
@@ -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);
        }
 }