projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
219757f
)
libbb: make spawn() print "can't execute '%s'" on execv error
author
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 8 Oct 2009 21:28:29 +0000
(23:28 +0200)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Thu, 8 Oct 2009 21:28:29 +0000
(23:28 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/vfork_daemon_rexec.c
patch
|
blob
|
history
diff --git
a/libbb/vfork_daemon_rexec.c
b/libbb/vfork_daemon_rexec.c
index 2e48e40a93831a311096c10d1a6598dd6145ae0f..1dbeff8af77c24762a1bb013fb06130edcaf69d1 100644
(file)
--- a/
libbb/vfork_daemon_rexec.c
+++ b/
libbb/vfork_daemon_rexec.c
@@
-41,6
+41,7
@@
pid_t FAST_FUNC spawn(char **argv)
* (but don't run atexit() stuff, which would screw up parent.)
*/
failed = errno;
+ bb_perror_msg("can't execute '%s'", argv[0]);
_exit(111);
}
/* parent */