From 93f24604de2978ccbf07fd1d39006d9e1d012724 Mon Sep 17 00:00:00 2001 From: Otavio Pontes Date: Tue, 12 Jun 2018 20:19:52 +0000 Subject: [PATCH] bundle-add: Use download resume on bundle-add too There's no reason to support pack resume on bundle-add --- src/bundle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bundle.c b/src/bundle.c index 78a07ac2..ef85cffc 100644 --- a/src/bundle.c +++ b/src/bundle.c @@ -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);