index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Anatol Pomozov <anatol.pomozov@gmail.com> | 2020-03-04 13:25:32 -0800 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2020-03-05 16:15:44 +1000 |
commit | aff69f43b1bd9cf602dd5bf2c0b6d1bbe5e336f2 (patch) | |
tree | 4f150ee460936351f6209fd707aa78f98f816664 /lib | |
parent | 130db5cc9eb5c58681cbdf76d18ab383b14edebe (diff) |
-rw-r--r-- | lib/libalpm/sync.c | 2 |
diff --git a/lib/libalpm/sync.c b/lib/libalpm/sync.c index 89cc7867..50b21b54 100644 --- a/lib/libalpm/sync.c +++ b/lib/libalpm/sync.c @@ -787,7 +787,7 @@ static int download_files(alpm_handle_t *handle) errors += find_dl_candidates(handle, &files); - if(files) { + if(files && !errors) { /* check for necessary disk space for download */ if(handle->checkspace) { off_t *file_sizes; |