diff options
author | David Kalnischkies <kalnischkies@gmail.com> | 2010-11-30 18:57:42 +0100 |
---|---|---|
committer | David Kalnischkies <kalnischkies@gmail.com> | 2010-11-30 18:57:42 +0100 |
commit | 2f6557b96c08c1adebf3b1e292ae636a27f624d0 (patch) | |
tree | 0dbdb27e51d8673e1ce0b894f3e1d9c4d64f9eb2 /apt-pkg/contrib | |
parent | 35faae110d5b0265fa2f8ea7f4e092b736161397 (diff) |
add the possibility to disable only the progress reporting stuff as the
quiet level 1 does this, but also disables other stuff we might want to
test against in a testcase
Diffstat (limited to 'apt-pkg/contrib')
-rw-r--r-- | apt-pkg/contrib/progress.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/contrib/progress.cc b/apt-pkg/contrib/progress.cc index cffdddc4f..45e81edcb 100644 --- a/apt-pkg/contrib/progress.cc +++ b/apt-pkg/contrib/progress.cc @@ -135,7 +135,7 @@ bool OpProgress::CheckChange(float Interval) OpTextProgress::OpTextProgress(Configuration &Config) : NoUpdate(false), NoDisplay(false), LastLen(0) { - if (Config.FindI("quiet",0) >= 1) + if (Config.FindI("quiet",0) >= 1 || Config.FindB("quiet::NoUpdate", false) == true) NoUpdate = true; if (Config.FindI("quiet",0) >= 2) NoDisplay = true; |