summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2005-08-22 22:27:56 +0000
committerMichael Vogt <michael.vogt@ubuntu.com>2005-08-22 22:27:56 +0000
commit25182152bc7812fdd56fd40f8b9a04a140079585 (patch)
tree36569ecd85f651b667dd17546d4a404d0e2194d2 /apt-pkg/acquire-item.cc
parent2ac470e19e33c8f326f98c58a4d3974989d6d1a0 (diff)
* improve the timeout handling (again)
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index 14acad85a..c39d3fdde 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -401,7 +401,8 @@ void pkgAcqMetaSig::Failed(string Message,pkgAcquire::MethodConfig *Cnf)
unlink(Final.c_str());
// if we get a timeout if fail
- if(LookupTag(Message,"FailReason") == "Timeout") {
+ if(LookupTag(Message,"FailReason") == "Timeout" ||
+ LookupTag(Message,"FailReason") == "TmpResolveFailure") {
Item::Failed(Message,Cnf);
return;
}