summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley2006-07-06 01:09:21 +0000
committerRob Landley2006-07-06 01:09:21 +0000
commitf296f0b77d1115e7b4056613dfcecac11ec45e79 (patch)
treee327bc3cfe86fa976b37f3632a0f52f5ed8ebeac
parent434ccd97391ea707c85392c2c00faa57b4d8c6df (diff)
downloadbusybox-f296f0b77d1115e7b4056613dfcecac11ec45e79.zip
busybox-f296f0b77d1115e7b4056613dfcecac11ec45e79.tar.gz
Bug fix from Vladimir Oleynic via Paul Fox for:
echo "+bond0" > /sys/class/net/bonding_masters while true; do echo hello done
-rw-r--r--shell/ash.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c
index cc46881..ba99381 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;