From f296f0b77d1115e7b4056613dfcecac11ec45e79 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Thu, 6 Jul 2006 01:09:21 +0000 Subject: [PATCH] Bug fix from Vladimir Oleynic via Paul Fox for: echo "+bond0" > /sys/class/net/bonding_masters while true; do echo hello done --- 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; -- 2.25.1