Markups
This commit is contained in:
parent
0a007fc983
commit
637aae48e4
@ -564,7 +564,7 @@ class FormulaAuditor
|
|||||||
end
|
end
|
||||||
|
|
||||||
return unless @online
|
return unless @online
|
||||||
status_code, = curl_output "--connect-timeout", "15", "--output", "/dev/null", "--range", "0-0", \
|
status_code, = curl_output "--connect-timeout", "15", "--output", "/dev/null", "--range", "0-0",
|
||||||
"--write-out", "%{http_code}", homepage
|
"--write-out", "%{http_code}", homepage
|
||||||
return if status_code.start_with? "20"
|
return if status_code.start_with? "20"
|
||||||
problem "The homepage #{homepage} is not reachable (HTTP status code #{status_code})"
|
problem "The homepage #{homepage} is not reachable (HTTP status code #{status_code})"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user