aboutsummaryrefslogtreecommitdiff
path: root/etc/check-links.lua
diff options
context:
space:
mode:
Diffstat (limited to 'etc/check-links.lua')
-rw-r--r--etc/check-links.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/check-links.lua b/etc/check-links.lua
index 79e6a54..9d837e4 100644
--- a/etc/check-links.lua
+++ b/etc/check-links.lua
@@ -37,7 +37,7 @@ function retrieve(u)
37 if parsed.scheme == "http" then 37 if parsed.scheme == "http" then
38 body, code, headers = http.request(u) 38 body, code, headers = http.request(u)
39 if code == 200 then 39 if code == 200 then
40 base = base or headers.location 40 base = headers.location or base
41 end 41 end
42 if not body then 42 if not body then
43 error = code 43 error = code