projects
/
platform
/
upstream
/
kbd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d48007
)
Print an error message when calls to exec* functions fail
author
Michael Schutte
<michi@uiae.at>
Thu, 14 Aug 2008 08:47:25 +0000
(10:47 +0200)
committer
Alexey Gladkov
<legion@altlinux.org>
Thu, 14 Aug 2008 09:08:08 +0000
(13:08 +0400)
Patch proposed by Ian Jackson <ian@chiark.greenend.co.uk> on
<http://bugs.debian.org/190387>.
Signed-off-by: Michael Schutte <michi@uiae.at>
Signed-off-by: Alexey Gladkov <legion@altlinux.org>
src/openvt.c
patch
|
blob
|
history
diff --git
a/src/openvt.c
b/src/openvt.c
index
f7eced2
..
0d23d96
100644
(file)
--- a/
src/openvt.c
+++ b/
src/openvt.c
@@
-292,6
+292,7
@@
got_vtno:
execlp(cmd, def_cmd, NULL);
else
execvp(cmd, &argv[optind]);
+ perror("openvt: exec failed");
_exit(127); /* exec failed */
}