X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/d7a4635391d9ff36152603ab6faa6eafa206750a..84b286f65c55e21b4734a17474f1cba464cbbd9c:/methods/gpgv.cc diff --git a/methods/gpgv.cc b/methods/gpgv.cc index ea8a26fd4..4071cbac6 100644 --- a/methods/gpgv.cc +++ b/methods/gpgv.cc @@ -1,20 +1,22 @@ #include -#include #include -#include -#include -#include #include +#include #include +#include +#include -#include -#include -#include +#include #include +#include +#include +#include +#include #include +#include #include -#include +#include #include #include @@ -260,8 +262,10 @@ bool GPGVMethod::Fetch(FetchItem *Itm) int main() { setlocale(LC_ALL, ""); - + GPGVMethod Mth; + Mth.DropPrivsOrDie(); + return Mth.Run(); }