← Commit list

9fb8d567ca

Daniel Stenberg
Daniel Stenberg
2025-09-19
FAILED Duration: 335s

Subject

tool_operate: keep the progress meter for --out-null

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

src/tool_operate.c+2 -2
@@ -1277,8 +1277,8 @@ static CURLcode single_transfer(struct OperationConfig *config,
config->resume_from = -1; /* -1 will then force get-it-yourself */
}
- if(output_expected(per->url, per->uploadfile) && outs->stream &&
- isatty(fileno(outs->stream)))
+ if(!outs->out_null && output_expected(per->url, per->uploadfile) &&
+ outs->stream && isatty(fileno(outs->stream)))
/* we send the output to a tty, therefore we switch off the progress
meter */
per->noprogress = global->noprogress = global->isatty = TRUE;