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:
Otavio Pontes
2018-06-14 13:04:31 -07:00
committed by Matthew Johnson
parent 573427039a
commit 93f24604de
+1 -1
View File
@@ -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);