mirror of
https://github.com/sheumann/hush.git
synced 2024-12-21 23:29:34 +00:00
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