summaryrefslogtreecommitdiff
path: root/tool/downloader.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tool/downloader.rb')
-rw-r--r--tool/downloader.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/downloader.rb b/tool/downloader.rb
index 88207f4c95..12c0e595c2 100644
--- a/tool/downloader.rb
+++ b/tool/downloader.rb
@@ -67,7 +67,7 @@ class Downloader
begin
data = url.read(http_options(file, ims))
rescue OpenURI::HTTPError => http_error
- return http_error.message =~ /^304 / # 304 Not Modified
+ return true if http_error.message =~ /^304 / # 304 Not Modified
raise
end
mtime = nil