Merge pull request #1374 from Neilpang/master

sync
This commit is contained in:
neil 2018-03-14 20:13:14 +08:00 committed by GitHub
commit a7407097e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4151,7 +4151,7 @@ $_authorizations_map"
echo "$BEGIN_CERT" >"$CA_CERT_PATH"
_base64 "multiline" <"$CA_CERT_PATH.der" >>"$CA_CERT_PATH"
echo "$END_CERT" >>"$CA_CERT_PATH"
if !_checkcert "$CA_CERT_PATH"; then
if ! _checkcert "$CA_CERT_PATH"; then
_err "Can not get the ca cert."
break
fi