diff options
Diffstat (limited to 'methods/rred.cc')
-rw-r--r-- | methods/rred.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/methods/rred.cc b/methods/rred.cc index 351c1ebf9..89d706984 100644 --- a/methods/rred.cc +++ b/methods/rred.cc @@ -7,6 +7,7 @@ #include <config.h> +#include <apt-pkg/init.h> #include <apt-pkg/fileutl.h> #include <apt-pkg/error.h> #include <apt-pkg/acquire-method.h> @@ -692,6 +693,8 @@ int main(int argc, char **argv) bool test = false; Patch patch; + pkgInitConfig(*_config); + if (argc <= 1) { RredMethod Mth; return Mth.Run(); |