summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-04-22 15:32:14 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2008-04-22 15:32:14 +0200
commit7730e095a5be67ea86d012fc8c905449c0ae0b37 (patch)
tree703045298728f712700bbab8e528cd24dfdafd8a /apt-pkg
parentd54385388a0773fada9e44c5d1cf020488047884 (diff)
apt-pkg/acquire-item.cc: fix breaking on unreachable networks
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/acquire-item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index a00b0b6d3..aabc4b159 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -846,7 +846,7 @@ void pkgAcqMetaSig::Failed(string Message,pkgAcquire::MethodConfig *Cnf)
{
Item::Failed(Message,Cnf);
// move the sigfile back on transient network failures
- if(FileExists(DestFile))
+ if(FileExists(LastGoodSig))
Rename(LastGoodSig,Final);
// set the status back to , Item::Failed likes to reset it