]> git.saurik.com Git - apt.git/blobdiff - methods/gpgv.cc
all errors should be printed to stderr
[apt.git] / methods / gpgv.cc
index 1594178839c652a5d2d63bdee0be1b3391f33b85..4071cbac6d76ac5de9e8ce6432deb447f4991c9a 100644 (file)
@@ -262,10 +262,10 @@ bool GPGVMethod::Fetch(FetchItem *Itm)
 int main()
 {
    setlocale(LC_ALL, "");
-   
-   DropPrivs();
 
    GPGVMethod Mth;
 
+   Mth.DropPrivsOrDie();
+
    return Mth.Run();
 }