[git commit] ash: document bash's exit code too. No code changes
Denys Vlasenko
vda.linux at googlemail.com
Thu Dec 15 23:44:36 UTC 2011
commit: http://git.busybox.net/busybox/commit/?id=cda6ea905d448e2a2058b5eb44db50b256659b50
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
shell/ash.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/shell/ash.c b/shell/ash.c
index d02b74a..b4ed8e5 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 **
* 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;
More information about the busybox-cvs
mailing list