diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2013-03-20 12:17:05 +0100 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2013-03-20 12:17:05 +0100 |
commit | 231232ec8aa183421669ee7d984434028db7f97d (patch) | |
tree | d917441861af889e7822faced445a4b8187c9d45 /apt-pkg | |
parent | 5d76cee187ea6f1443c6afd0d1cf99f3555304ef (diff) |
apt-pkg/edsp.cc: do not spam stderr in WriteSolution
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/edsp.cc | 2 |
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; |