mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-07-06 04:55:22 +02:00
fixed undefined-variable bug on early connection failure (while accessing ca directory)
This commit is contained in:
+1
-1
@@ -520,7 +520,7 @@ http_request() {
|
|||||||
|
|
||||||
if [[ ! "${statuscode:0:1}" = "2" ]]; then
|
if [[ ! "${statuscode:0:1}" = "2" ]]; then
|
||||||
# check for existing registration warning
|
# check for existing registration warning
|
||||||
if [[ ${API} -eq 1 ]] && [[ -n "${CA_NEW_REG:-}" ]] && [[ "${2}" = "${CA_NEW_REG:-}" ]] && [[ "${statuscode}" = "409" ]] && grep -q "Registration key is already in use" "${tempcont}"; then
|
if [[ "${API}" = "1" ]] && [[ -n "${CA_NEW_REG:-}" ]] && [[ "${2}" = "${CA_NEW_REG:-}" ]] && [[ "${statuscode}" = "409" ]] && grep -q "Registration key is already in use" "${tempcont}"; then
|
||||||
# do nothing
|
# do nothing
|
||||||
:
|
:
|
||||||
# check for already-revoked warning
|
# check for already-revoked warning
|
||||||
|
|||||||
Reference in New Issue
Block a user