summaryrefslogtreecommitdiff
path: root/ftparchive
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2010-03-26 15:35:36 +0100
committerJulian Andres Klode <jak@debian.org>2010-03-26 15:35:36 +0100
commitb34d4b4745e4f7ead090a03e5efe35bd2e2e82b5 (patch)
treedbadef21c893e717160112b0603d8b2f9bdff1ad /ftparchive
parent1ac89b1ae1c0cdab8b02bad36795a3a799a31c9a (diff)
downloadapt-b34d4b4745e4f7ead090a03e5efe35bd2e2e82b5.tar.gz
* ftparchive/apt-ftparchive.cc:
- Read default configuration (Closes: #383257)
Diffstat (limited to 'ftparchive')
-rw-r--r--ftparchive/apt-ftparchive.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc
index f1a182e52..5456dd474 100644
--- a/ftparchive/apt-ftparchive.cc
+++ b/ftparchive/apt-ftparchive.cc
@@ -925,7 +925,7 @@ int main(int argc, const char *argv[])
// Parse the command line and initialize the package library
CommandLine CmdL(Args,_config);
- if (CmdL.Parse(argc,argv) == false)
+ if (pkgInitConfig(*_config) == false || CmdL.Parse(argc,argv) == false)
{
_error->DumpErrors();
return 100;