ash: document bash's exit code too. No code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
2bef526331
commit
cda6ea905d
@ -7439,8 +7439,8 @@ tryexec(IF_FEATURE_SH_STANDALONE(int applet_no,) char *cmd, char **argv, char **
|
||||
* Note that bash reads ~80 chars of the file, and if it sees
|
||||
* a zero byte before it sees newline, it doesn't try to
|
||||
* interpret it, but fails with "cannot execute binary file"
|
||||
* message. For one, it prevents atempts to interpret
|
||||
* foreign ELF binaries as shell scripts.
|
||||
* message and exit code 126. For one, this prevents attempts
|
||||
* to interpret foreign ELF binaries as shell scripts.
|
||||
*/
|
||||
char **ap;
|
||||
char **new;
|
||||
|
Loading…
Reference in New Issue
Block a user