diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-18 01:45:57 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-18 04:03:43 +0200 |
commit | 9f139550f815e2970b8929094e50acfd8b4cc2b7 (patch) | |
tree | 8d7225c6dc4c74d1d4bcc9824014f56eae2af909 /contrib/.gitignore | |
parent | 2dbdfe078847dc1247db77580655b387f746ba28 (diff) | |
download | pacman-9f139550f815e2970b8929094e50acfd8b4cc2b7.tar.gz pacman-9f139550f815e2970b8929094e50acfd8b4cc2b7.tar.xz |
lib/dload: refactor deletion on failure
This moves all the delete-on-fail logic to under cleanup label. This
also implies should_unlink when a payload is received that doesn't allow
resuming.
Fixes .db.sig.part files leftover in the sync dir.
Signed-off-by: Dave Reisner <dreisner@archlinux.org>
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'contrib/.gitignore')
0 files changed, 0 insertions, 0 deletions