mirror of
https://github.com/sheumann/hush.git
synced 2025-01-03 00:31:16 +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;
|
int sz = cur_outbuf - outbuf;
|
||||||
if (sz > 0) {
|
if (sz > 0) {
|
||||||
write(1, outbuf, sz);
|
xwrite(1, outbuf, sz);
|
||||||
cur_outbuf = outbuf;
|
cur_outbuf = outbuf;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user