diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-11 04:09:37 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-10-11 04:09:37 +0200 |
commit | 4db34d6e27eacdd8b9b0340cda1905c37978c40f (patch) | |
tree | 17e7758d06d7f05ed338eff7de413eeca0d6337f /libbb/vfork_daemon_rexec.c | |
parent | 8c66a9d07a771424e79a56698cdad7f4e4de89ac (diff) | |
download | busybox-w32-4db34d6e27eacdd8b9b0340cda1905c37978c40f.tar.gz busybox-w32-4db34d6e27eacdd8b9b0340cda1905c37978c40f.tar.bz2 busybox-w32-4db34d6e27eacdd8b9b0340cda1905c37978c40f.zip |
libbb: revert the change where spawn reports exec failure
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb/vfork_daemon_rexec.c')
-rw-r--r-- | libbb/vfork_daemon_rexec.c | 3 |
1 files changed, 2 insertions, 1 deletions
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) | |||
41 | * (but don't run atexit() stuff, which would screw up parent.) | 41 | * (but don't run atexit() stuff, which would screw up parent.) |
42 | */ | 42 | */ |
43 | failed = errno; | 43 | failed = errno; |
44 | bb_perror_msg("can't execute '%s'", argv[0]); | 44 | /* mount, for example, does not want the message */ |
45 | /*bb_perror_msg("can't execute '%s'", argv[0]);*/ | ||
45 | _exit(111); | 46 | _exit(111); |
46 | } | 47 | } |
47 | /* parent */ | 48 | /* parent */ |