From: Rob Landley Date: Thu, 6 Jul 2006 01:09:21 +0000 (-0000) Subject: Bug fix from Vladimir Oleynic via Paul Fox for: X-Git-Tag: 1_2_0~36 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f296f0b77d1115e7b4056613dfcecac11ec45e79;p=oweals%2Fbusybox.git Bug fix from Vladimir Oleynic via Paul Fox for: echo "+bond0" > /sys/class/net/bonding_masters while true; do echo hello done --- 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;