1
0
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. ()

This commit is contained in:
Steve Atherton 2022-01-19 20:29:59 -08:00 committed by GitHub
parent dd3526ade5
commit 6e410f7712
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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");