libbb: revert the change where spawn reports exec failure
authorDenys Vlasenko <vda.linux@googlemail.com>
Sun, 11 Oct 2009 02:09:37 +0000 (04:09 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Sun, 11 Oct 2009 02:09:37 +0000 (04:09 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
libbb/vfork_daemon_rexec.c

index 1dbeff8af77c24762a1bb013fb06130edcaf69d1..27efb0e376836c55ec445be068b287d8d837fce9 100644 (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 */