ash: expand comment
This commit is contained in:
parent
11fb7cf5af
commit
5368ad53e9
@ -13878,7 +13878,8 @@ int ash_main(int argc UNUSED_PARAM, char **argv)
|
|||||||
if (minusc) {
|
if (minusc) {
|
||||||
/* evalstring pushes parsefile stack.
|
/* evalstring pushes parsefile stack.
|
||||||
* Ensure we don't falsely claim that 0 (stdin)
|
* 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)
|
if (!sflag)
|
||||||
g_parsefile->fd = -1;
|
g_parsefile->fd = -1;
|
||||||
evalstring(minusc, 0);
|
evalstring(minusc, 0);
|
||||||
|
Loading…
Reference in New Issue
Block a user