Set stdout to line buffered so shells without pseudo-terminals see realtime progress. (#6262)

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

View File

@ -2891,6 +2891,8 @@ int main(int argc, char* argv[]) {
mako_stats_t* stats;
pid_t pid_main;
setlinebuf(stdout);
rc = init_args(&args);
if (rc < 0) {
fprintf(stderr, "ERROR: init_args failed\n");