Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/add.c b/lib/libalpm/add.c
index f5ec3fa6..3f9a2a85 100644
--- a/lib/libalpm/add.c
+++ b/lib/libalpm/add.c
@@ -519,7 +519,7 @@ static int extract_single_file(struct archive *archive,
backups = alpm_list_next(backups)) {
char *oldbackup = alpm_list_getdata(backups);
if(!oldbackup || strcmp(oldbackup, entryname) != 0) {
- return(0);
+ continue;
}
char *backup = NULL;
/* length is tab char, null byte and MD5 (32 char) */