summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2013-03-20 12:17:05 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2013-03-20 12:17:05 +0100
commit231232ec8aa183421669ee7d984434028db7f97d (patch)
treed917441861af889e7822faced445a4b8187c9d45 /apt-pkg
parent5d76cee187ea6f1443c6afd0d1cf99f3555304ef (diff)
apt-pkg/edsp.cc: do not spam stderr in WriteSolution
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/edsp.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/apt-pkg/edsp.cc b/apt-pkg/edsp.cc
index 6ce9da784..b125d4bfb 100644
--- a/apt-pkg/edsp.cc
+++ b/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;