]> git.saurik.com Git - apt.git/blobdiff - cmdline/apt-extracttemplates.cc
close server if parsing of header field failed
[apt.git] / cmdline / apt-extracttemplates.cc
index 8f77425e4f7966af07bdf77990d9a6fcd5c98aba..a4468b9893eb7016ca7d7fa637a6e7d4b7fd4c70 100644 (file)
@@ -339,8 +339,6 @@ static std::vector<aptDispatchWithHelp> GetCommands()                       /*{{{*/
                                                                        /*}}}*/
 int main(int argc, const char **argv)                                  /*{{{*/
 {
-       InitLocale();
-
        CommandLine CmdL;
        auto const Cmds = ParseCommandLine(CmdL, APT_CMD::APT_EXTRACTTEMPLATES, &_config, &_system, argc, argv, &ShowHelp, &GetCommands);