The log file is more useful when line buffered.
Submitted by: Stephen Montgomery-Smith <stephen@math.missouri.edu>
This commit is contained in:
parent
ff96c77dc4
commit
b9927716c0
@ -546,6 +546,7 @@ main(int argc, char **argv)
|
|||||||
logf = fopen(optarg, "w");
|
logf = fopen(optarg, "w");
|
||||||
if (!logf)
|
if (!logf)
|
||||||
err(1, "%s", optarg);
|
err(1, "%s", optarg);
|
||||||
|
setlinebuf(logf);
|
||||||
break;
|
break;
|
||||||
case 'q':
|
case 'q':
|
||||||
verbose--;
|
verbose--;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user