diff options
author | Rob Landley <rob@landley.net> | 2006-07-06 01:09:21 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-07-06 01:09:21 +0000 |
commit | f296f0b77d1115e7b4056613dfcecac11ec45e79 (patch) | |
tree | e327bc3cfe86fa976b37f3632a0f52f5ed8ebeac /shell | |
parent | 434ccd97391ea707c85392c2c00faa57b4d8c6df (diff) |
Bug fix from Vladimir Oleynic via Paul Fox for:
echo "+bond0" > /sys/class/net/bonding_masters
while true; do
echo hello
done
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index cc46881c9..ba99381a2 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -3469,6 +3469,7 @@ evalbltin(const struct builtincmd *cmd, int argc, char **argv) { flushall(); cmddone: exitstatus |= ferror(stdout); + clearerr(stdout); commandname = savecmdname; exsig = 0; handler = savehandler; |