libbb: revert the change where spawn reports exec failure

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2009-10-11 04:09:37 +02:00
parent 8c66a9d07a
commit 4db34d6e27

View File

@ -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 */