From 4db34d6e27eacdd8b9b0340cda1905c37978c40f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sun, 11 Oct 2009 04:09:37 +0200 Subject: [PATCH] libbb: revert the change where spawn reports exec failure Signed-off-by: Denys Vlasenko --- libbb/vfork_daemon_rexec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c index 1dbeff8af..27efb0e37 100644 --- a/libbb/vfork_daemon_rexec.c +++ b/libbb/vfork_daemon_rexec.c @@ -41,7 +41,8 @@ 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]); + /* mount, for example, does not want the message */ + /*bb_perror_msg("can't execute '%s'", argv[0]);*/ _exit(111); } /* parent */