desktop-shell: print what failed on exec

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
Pekka Paalanen
2012-01-27 09:50:02 +02:00
committed by Kristian Høgsberg
parent e018b04c40
commit a291ae55b0
+1 -1
View 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);
}
}