Merge pull request #685 from Neilpang/dev

Dev
This commit is contained in:
neil 2017-03-01 19:20:12 +08:00 committed by GitHub
commit eaad34a69a
2 changed files with 3 additions and 3 deletions

View File

@ -1486,7 +1486,7 @@ _inithttp() {
fi fi
#from wget 1.14: do not skip body on 404 error #from wget 1.14: do not skip body on 404 error
if [ "$_ACME_WGET" ] && _contains "$($_ACME_WGET --help)" "--content-on-error"; then if [ "$_ACME_WGET" ] && _contains "$($_ACME_WGET --help 2>&1)" "--content-on-error"; then
_ACME_WGET="$_ACME_WGET --content-on-error " _ACME_WGET="$_ACME_WGET --content-on-error "
fi fi