nmeter: should die if stdout doesn't like him anymore

This commit is contained in:
Denis Vlasenko 2007-03-26 13:16:22 +00:00
parent cd43dfdeec
commit f62c6fa1ca

View File

@ -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;
}
}