summaryrefslogtreecommitdiff
path: root/cmdline/apt-get.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-07-22 16:01:00 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-07-22 16:01:00 +0200
commit555a487afb510c561d094f27bb08119694e7388f (patch)
tree8b911f2ece6122e70b812628e598c9cccbf0e989 /cmdline/apt-get.cc
parentce2de59157d5ac584005c76f58b277adcaf8e1ab (diff)
parenta3bbbab7ca5f94391b2158cfe9deb85eb335e29a (diff)
merged from donkult
Diffstat (limited to 'cmdline/apt-get.cc')
-rw-r--r--cmdline/apt-get.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmdline/apt-get.cc b/cmdline/apt-get.cc
index 99ee4f228..1e7fee96b 100644
--- a/cmdline/apt-get.cc
+++ b/cmdline/apt-get.cc
@@ -2366,8 +2366,7 @@ bool DoSource(CommandLine &CmdL)
// Create the download object
AcqTextStatus Stat(ScreenWidth,_config->FindI("quiet",0));
pkgAcquire Fetcher;
- if (Fetcher.Setup(&Stat) == false)
- return false;
+ Fetcher.SetLog(&Stat);
DscFile *Dsc = new DscFile[CmdL.FileSize()];