X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/34f1d96cf5657b5e34cd9880dccfa2028fa16b13..cf440facb498fa0ec70148723b13d6d019758c0e:/ftparchive/apt-ftparchive.cc?ds=inline diff --git a/ftparchive/apt-ftparchive.cc b/ftparchive/apt-ftparchive.cc index 46831b385..6f9fa7ab3 100644 --- a/ftparchive/apt-ftparchive.cc +++ b/ftparchive/apt-ftparchive.cc @@ -16,6 +16,7 @@ #include #include #include +#include #include #include #include @@ -966,7 +967,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;