diff options
author | Dave Reisner <dreisner@archlinux.org> | 2011-08-17 19:45:57 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-17 21:03:43 -0500 |
commit | 9f139550f815e2970b8929094e50acfd8b4cc2b7 (patch) | |
tree | 8d7225c6dc4c74d1d4bcc9824014f56eae2af909 /lib/libalpm/be_local.c | |
parent | 2dbdfe078847dc1247db77580655b387f746ba28 (diff) | |
download | 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 'lib/libalpm/be_local.c')
0 files changed, 0 insertions, 0 deletions