]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-internal-solver.cc
DropPrivs: Move the re-set uid/gid thing to the end of the function
[apt.git] / cmdline / apt-internal-solver.cc
index 5fda7b6a0af4d393626967a4ecec12e5cd20b7d8..c24a96cdfa2d87152287e8c2c7ef30d15befba70 100644 (file)
@@ -76,6 +76,9 @@ int main(int argc,const char *argv[])                                 /*{{{*/
                {'o',"option",0,CommandLine::ArbItem},
                {0,0,0,0}};
 
+        // we really don't need anything
+        DropPrivs();
+
        CommandLine CmdL(Args,_config);
        if (pkgInitConfig(*_config) == false ||
            CmdL.Parse(argc,argv) == false) {