]> git.saurik.com Git - apt.git/blobdiff - apt-private/private-sources.cc
FildFd: Introduce a Flush() function and call it from Close()
[apt.git] / apt-private / private-sources.cc
index 301936b9db7101b96df2db473b4ca6304b393fef..6a32931ba167f86229b9677792dcaf2f16e160e3 100644 (file)
@@ -54,7 +54,7 @@ bool EditSources(CommandLine &CmdL)
       _error->PushToStack();
       res = sl.Read(sourceslist);
       if (!res) {
       _error->PushToStack();
       res = sl.Read(sourceslist);
       if (!res) {
-         _error->DumpErrors();
+         _error->DumpErrors(std::cerr, GlobalError::DEBUG, false);
          strprintf(outs, _("Failed to parse %s. Edit again? "),
                    sourceslist.c_str());
          std::cout << outs;
          strprintf(outs, _("Failed to parse %s. Edit again? "),
                    sourceslist.c_str());
          std::cout << outs;