diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2011-12-16 00:44:36 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2011-12-16 00:44:36 +0100 |
commit | cda6ea905d448e2a2058b5eb44db50b256659b50 (patch) | |
tree | 6ae9fc6ddd9c6b69e9519ec74533180857e6041f | |
parent | 2bef526331a194da199993ec747598f625a5a9a8 (diff) | |
download | busybox-w32-cda6ea905d448e2a2058b5eb44db50b256659b50.tar.gz busybox-w32-cda6ea905d448e2a2058b5eb44db50b256659b50.tar.bz2 busybox-w32-cda6ea905d448e2a2058b5eb44db50b256659b50.zip |
ash: document bash's exit code too. No code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/ash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c index d02b74a4c..b4ed8e578 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -7439,8 +7439,8 @@ tryexec(IF_FEATURE_SH_STANDALONE(int applet_no,) char *cmd, char **argv, char ** | |||
7439 | * Note that bash reads ~80 chars of the file, and if it sees | 7439 | * Note that bash reads ~80 chars of the file, and if it sees |
7440 | * a zero byte before it sees newline, it doesn't try to | 7440 | * a zero byte before it sees newline, it doesn't try to |
7441 | * interpret it, but fails with "cannot execute binary file" | 7441 | * interpret it, but fails with "cannot execute binary file" |
7442 | * message. For one, it prevents atempts to interpret | 7442 | * message and exit code 126. For one, this prevents attempts |
7443 | * foreign ELF binaries as shell scripts. | 7443 | * to interpret foreign ELF binaries as shell scripts. |
7444 | */ | 7444 | */ |
7445 | char **ap; | 7445 | char **ap; |
7446 | char **new; | 7446 | char **new; |