[pacman-dev] [PATCH v2] libalpm: fix error when downloading up to date files
morganamilo
morganamilo at archlinux.org
Sat May 1 20:25:35 UTC 2021
---
lib/libalpm/sync.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c
index 2419cc69..bdfab635 100644
--- a/lib/libalpm/sync.c
+++ b/lib/libalpm/sync.c
@@ -1128,7 +1128,7 @@ int _alpm_sync_load(alpm_handle_t *handle, alpm_list_t **data)
uint64_t total_bytes = 0;
alpm_trans_t *trans = handle->trans;
- if(download_files(handle)) {
+ if(download_files(handle) == -1) {
return -1;
}
--
2.31.1
More information about the pacman-dev
mailing list