mirror of
https://github.com/curl/curl.git
synced 2026-07-22 22:57:21 +03:00
tool_operate: keep the progress meter for --out-null
Fixes #18607 Closes #18609
This commit is contained in:
parent
9f18cb6544
commit
9fb8d567ca
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue