summaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenis Vlasenko2009-03-20 10:20:08 +0000
committerDenis Vlasenko2009-03-20 10:20:08 +0000
commit5368ad53e91ee056316389b5006b7eb0df2f2d11 (patch)
treef729f36e2d0012b68b80797fa0967d6b6f5bdd15 /shell
parent11fb7cf5afab2ab7bb77e6a22a3ff0564953b179 (diff)
downloadbusybox-5368ad53e91ee056316389b5006b7eb0df2f2d11.zip
busybox-5368ad53e91ee056316389b5006b7eb0df2f2d11.tar.gz
ash: expand comment
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c
index bf7afab..13b4329 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -13878,7 +13878,8 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
if (minusc) {
/* evalstring pushes parsefile stack.
* Ensure we don't falsely claim that 0 (stdin)
- * is one of stacked source fds */
+ * is one of stacked source fds.
+ * Testcase: ash -c 'exec 1>&0' must not complain. */
if (!sflag)
g_parsefile->fd = -1;
evalstring(minusc, 0);