commit 399bf0fdf16524b67e189dc2a3b2fa92199a5f41
parent cded39f4ead366d3702a322a772650c27d1db463
Author: cfillion <cfillion@users.noreply.github.com>
Date: Sun, 24 Apr 2016 17:56:28 -0400
report download errors when force-refreshing indexes
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/reapack.cpp b/src/reapack.cpp
@@ -439,7 +439,7 @@ void ReaPack::doFetchIndex(const Remote &remote, DownloadQueue *queue,
warn(FS::lastError(), AUTO_STR("Write Failed"));
break;
case Download::Failure:
- if(!FS::exists(path))
+ if(stale || !FS::exists(path))
warn(dl->contents(), AUTO_STR("Download Failed"));
break;
default: