mirror of https://github.com/mirror/busybox.git
nmeter: should die if stdout doesn't like him anymore
parent
cd43dfdeec
commit
f62c6fa1ca
|
@ -59,7 +59,7 @@ static void print_outbuf(void)
|
|||
{
|
||||
int sz = cur_outbuf - outbuf;
|
||||
if (sz > 0) {
|
||||
write(1, outbuf, sz);
|
||||
xwrite(1, outbuf, sz);
|
||||
cur_outbuf = outbuf;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue