mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-21 22:33:17 +08:00
Set stdout to line buffered so shells without pseudo-terminals see realtime progress. (#6262)
This commit is contained in:
parent
dd3526ade5
commit
6e410f7712
@ -2891,6 +2891,8 @@ int main(int argc, char* argv[]) {
|
|||||||
mako_stats_t* stats;
|
mako_stats_t* stats;
|
||||||
pid_t pid_main;
|
pid_t pid_main;
|
||||||
|
|
||||||
|
setlinebuf(stdout);
|
||||||
|
|
||||||
rc = init_args(&args);
|
rc = init_args(&args);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
fprintf(stderr, "ERROR: init_args failed\n");
|
fprintf(stderr, "ERROR: init_args failed\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user