]> 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 8a6f96aea8229e8933e1cb9a9c18a1d1535d17bf..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