aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 885a515ee..24b53283d 100644
--- a/src/main.c
+++ b/src/main.c
@@ -2409,7 +2409,8 @@ operate(struct Configurable *config, int argc, char *argv[])
res = curl_easy_perform(curl);
- if(progressbar.calls) {
+ if((config->progressmode == CURL_PROGRESS_BAR) &&
+ progressbar.calls) {
/* if the custom progress bar has been displayed, we output a
newline here */
fputs("\n", progressbar.out);