summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/vfork_daemon_rexec.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index 2e48e40..1dbeff8 100644
--- 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 */