Przeglądaj źródła

hide first pdiff merge failure debug message

The sibling of this message are all guarded as debug messages, just this
one had it missing an subsequently causes display issues if triggered.

Git-Dch: Ignore
David Kalnischkies 11 lat temu
rodzic
commit
f4c7a238f4
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      apt-pkg/acquire-item.cc

+ 2 - 1
apt-pkg/acquire-item.cc

@@ -1044,7 +1044,8 @@ void pkgAcqIndexMergeDiffs::Failed(string Message,pkgAcquire::MethodConfig * Cnf
 
    // first failure means we should fallback
    State = StateErrorDiff;
-   std::clog << "Falling back to normal index file acquire" << std::endl;
+   if (Debug)
+      std::clog << "Falling back to normal index file acquire" << std::endl;
    new pkgAcqIndex(Owner, TransactionManager, Target, ExpectedHashes, MetaIndexParser);
 }
 									/*}}}*/