This commit is contained in:
Eelco Dolstra 2020-02-18 21:30:31 +01:00
parent 2f0122b23c
commit 2097983218
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -441,7 +441,7 @@ void startProgressBar(bool printBuildLogs)
{ {
logger = new ProgressBar( logger = new ProgressBar(
printBuildLogs, printBuildLogs,
isatty(STDERR_FILENO) && getEnv("TERM").value_or("dumb") != "dumb"); isatty(STDERR_FILENO) && getEnv("TERM", "dumb") != "dumb");
} }
void stopProgressBar() void stopProgressBar()