desktop-shell: print what failed on exec
Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
This commit is contained in:
committed by
Kristian Høgsberg
parent
e018b04c40
commit
a291ae55b0
@@ -170,7 +170,7 @@ panel_launcher_activate(struct panel_launcher *widget)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
if (execl(widget->path, widget->path, NULL) < 0) {
|
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);
|
exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user