]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt.cc
DropPrivs: Move the re-set uid/gid thing to the end of the function
[apt.git] / cmdline / apt.cc
index 4813861a441a61d88cc8c93758a535d2fc07a8e8..2cfdf8e8e4e046da431f911bc14fb1ee3567cddf 100644 (file)
@@ -96,6 +96,10 @@ int main(int argc, const char *argv[])                                       /*{{{*/
 
    std::vector<CommandLine::Args> Args = getCommandArgs("apt", CommandLine::GetCommand(Cmds, argc, argv));
 
+   // Init the signals
+   InitSignals();
+
+   // Init the output
    InitOutput();
 
    // Set up gettext support
@@ -112,6 +116,7 @@ int main(int argc, const char *argv[])                                      /*{{{*/
    _config->CndSet("DPkg::Progress-Fancy", "1");
    _config->CndSet("Apt::Color", "1");
    _config->CndSet("APT::Get::Upgrade-Allow-New", true);
+   _config->CndSet("APT::Cmd::Show-Update-Stats", true);
 
    // Parse the command line and initialize the package library
    CommandLine CmdL(Args.data(), _config);