nmeter: should die if stdout doesn't like him anymore
This commit is contained in:
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
Block a user