| Summary: | Executes empty files without issues | ||
|---|---|---|---|
| Product: | Busybox | Reporter: | Sven Herzberg <sven> |
| Component: | Standard Compliance | Assignee: | unassigned |
| Status: | RESOLVED INVALID | ||
| Severity: | enhancement | CC: | rep.dot.nop |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Host: | Target: | ||
| Build: | |||
|
Description
Sven Herzberg
2009-02-23 08:55:37 UTC
Exiting with EXIT_SUCCESS is ok and the expected, correct result. Which shell does exit with 127? behavior is correct if a file is not handled by any file exec formats in the kernel, and the file does not have a shebang, then it falls back to running the file with /bin/sh since the file is empty, there is no way for the exit status to become non-zero |