desktop-shell: print what failed on exec
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
parent
e018b04c40
commit
a291ae55b0
@ -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…
Reference in New Issue
Block a user