diff options
| author | Baptiste Fontaine | 2015-08-02 10:50:39 +0200 |
|---|---|---|
| committer | Baptiste Fontaine | 2015-08-02 11:15:52 +0200 |
| commit | 79678cb109cd7eb6d7458a0e1f5b11ba8a516fcd (patch) | |
| tree | 6ecf6789248841706ffdece0711ed51b82bbe681 /Library | |
| parent | b7732e80b498b206b780827606e1277b2a5e4c12 (diff) | |
| download | brew-79678cb109cd7eb6d7458a0e1f5b11ba8a516fcd.tar.bz2 | |
online audit: use GET instead of HEAD
I also removed the `-L` flag which is already present in
`HOMEBREW_CURL_ARGS`.
Closes Homebrew/homebrew#42352.
Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 1a09bee07..9e70b73d4 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -434,7 +434,7 @@ class FormulaAuditor return unless @online begin - nostdout { curl "--connect-timeout", "15", "-IL", "-o", "/dev/null", homepage } + nostdout { curl "--connect-timeout", "15", "-o", "/dev/null", homepage } rescue ErrorDuringExecution problem "The homepage is not reachable (curl exit code #{$?.exitstatus})" end |
