diff options
| author | David Broder-Rodgers | 2016-12-19 08:45:21 +0000 |
|---|---|---|
| committer | David Broder-Rodgers | 2016-12-19 08:45:21 +0000 |
| commit | 637aae48e4814e2799a06838c24f06a2a2ef0a36 (patch) | |
| tree | 7821bea91ffe837d3f0578a989575040e65b8744 /Library | |
| parent | 0a007fc983c83d610b918bdd8e38038e2732c170 (diff) | |
| download | brew-637aae48e4814e2799a06838c24f06a2a2ef0a36.tar.bz2 | |
Markups
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/dev-cmd/audit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/dev-cmd/audit.rb b/Library/Homebrew/dev-cmd/audit.rb index cc5a0e62c..754cb597b 100644 --- a/Library/Homebrew/dev-cmd/audit.rb +++ b/Library/Homebrew/dev-cmd/audit.rb @@ -564,8 +564,8 @@ class FormulaAuditor end return unless @online - status_code, = curl_output "--connect-timeout", "15", "--output", "/dev/null", "--range", "0-0", \ - "--write-out", "%{http_code}", homepage + status_code, = curl_output "--connect-timeout", "15", "--output", "/dev/null", "--range", "0-0", + "--write-out", "%{http_code}", homepage return if status_code.start_with? "20" problem "The homepage #{homepage} is not reachable (HTTP status code #{status_code})" end |
