X-Git-Url: https://git.saurik.com/apt.git/blobdiff_plain/bb2e0d5add4a291f09d68ebb5588e45dc128d766..84b286f65c55e21b4734a17474f1cba464cbbd9c:/methods/gpgv.cc?ds=sidebyside diff --git a/methods/gpgv.cc b/methods/gpgv.cc index 25bf64ddd..4071cbac6 100644 --- a/methods/gpgv.cc +++ b/methods/gpgv.cc @@ -1,19 +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 @@ -259,8 +262,10 @@ bool GPGVMethod::Fetch(FetchItem *Itm) int main() { setlocale(LC_ALL, ""); - + GPGVMethod Mth; + Mth.DropPrivsOrDie(); + return Mth.Run(); }