From b1eeaafcc309934e976155a64919b0e6475e7c54 Mon Sep 17 00:00:00 2001 From: landley Date: Thu, 6 Jul 2006 01:09:21 +0000 Subject: Bug fix from Vladimir Oleynic via Paul Fox for: echo "+bond0" > /sys/class/net/bonding_masters while true; do echo hello done git-svn-id: svn://busybox.net/trunk/busybox@15653 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/ash.c | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3-55-g6feb