mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-11-22 07:33:06 +00:00
bundle-add: Use download resume on bundle-add too
There's no reason to support pack resume on bundle-add
This commit is contained in:
committed by
Matthew Johnson
parent
573427039a
commit
93f24604de
+1
-1
@@ -728,7 +728,7 @@ static int install_bundles(struct list *bundles, struct list **subs, int current
|
||||
(void)rm_staging_dir_contents("download");
|
||||
|
||||
download_subscribed_packs:
|
||||
if (list_longer_than(to_install_files, 10) && download_subscribed_packs(*subs, mom, true, false)) {
|
||||
if (list_longer_than(to_install_files, 10) && download_subscribed_packs(*subs, mom, true, true)) {
|
||||
if (retries < MAX_TRIES && !content_url_is_local) {
|
||||
increment_retries(&retries, &timeout);
|
||||
printf("\nRetry #%d downloading subscribed packs\n", retries);
|
||||
|
||||
Reference in New Issue
Block a user