Explorar o código

apt-pkg/edsp.cc: do not spam stderr in WriteSolution

Michael Vogt %!s(int64=13) %!d(string=hai) anos
pai
achega
231232ec8a
Modificáronse 1 ficheiros con 2 adicións e 0 borrados
  1. 2 0
      apt-pkg/edsp.cc

+ 2 - 0
apt-pkg/edsp.cc

@@ -474,8 +474,10 @@ bool EDSP::WriteSolution(pkgDepCache &Cache, FILE* output)
       {
 	 fprintf(output, "Autoremove: %d\n", Pkg.CurrentVer()->ID);
 	 if (Debug == true)
+         {
 	    fprintf(output, "Package: %s\nVersion: %s\n", Pkg.FullName().c_str(), Pkg.CurrentVer().VerStr());
 	    fprintf(stderr, "Autoremove: %s\nVersion: %s\n", Pkg.FullName().c_str(), Pkg.CurrentVer().VerStr());
+         }
       }
       else
 	 continue;