desktop-shell: print what failed on exec

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
dev
Pekka Paalanen 13 years ago committed by Kristian Høgsberg
parent e018b04c40
commit a291ae55b0
  1. 2
      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);
}
}

Loading…
Cancel
Save