summaryrefslogtreecommitdiff
path: root/src/pacman/download.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/download.c')
-rw-r--r--src/pacman/download.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pacman/download.c b/src/pacman/download.c
index ad19f4d4..ce595495 100644
--- a/src/pacman/download.c
+++ b/src/pacman/download.c
@@ -64,6 +64,10 @@ static int log_progress(netbuf *ctl, int xfered, void *arg)
static unsigned short mouth;
static unsigned int lastcur = 0;
+ if(config->noprogressbar) {
+ return(1);
+ }
+
gettimeofday(&t1, NULL);
if(xfered+offset == fsz) {
t = t0;