diff options
author | Michael Vogt <michael.vogt@ubuntu.com> | 2008-04-22 15:48:52 +0200 |
---|---|---|
committer | Michael Vogt <michael.vogt@ubuntu.com> | 2008-04-22 15:48:52 +0200 |
commit | 4a858c3921aabe5253204063bedb2307a60f30e0 (patch) | |
tree | b4e2eadd764bf2f000347aad133dad178f52defc /apt-pkg/acquire-item.cc | |
parent | 397d56f56b3ffaf38df57571c11f0699e2810902 (diff) | |
parent | 7730e095a5be67ea86d012fc8c905449c0ae0b37 (diff) |
* apt-pkg/acquire-item.cc:
- fix signaure removal on transient network failures
(thanks to Scott James Remnant)
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r-- | apt-pkg/acquire-item.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc index 9464ba696..aee187227 100644 --- a/apt-pkg/acquire-item.cc +++ b/apt-pkg/acquire-item.cc @@ -896,7 +896,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 |