← Commit list

3f11f3512

Denys Vlasenko
Denys Vlasenko
2009-10-08
FAILED Duration: 30s

Subject

libbb: make spawn() print "can't execute '%s'" on execv error

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/vfork_daemon_rexec.c+1 -0
@@ -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 */