This commit is contained in:
johnruble 2024-06-14 08:59:06 +00:00 committed by GitHub
commit 0f3bfedbb9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5047,6 +5047,15 @@ $_authorizations_map"
response="$(echo "$response" | _normalizeJson)" response="$(echo "$response" | _normalizeJson)"
_debug2 response "$response" _debug2 response "$response"
status=$(echo "$response" | _egrep_o 'Challenge is already valid' | cut -d ' ' -f 4 | head -1)
if [ "$status" = "valid" ]; then
_info "$(__green Success)"
_stopserver "$serverproc"
serverproc=""
_clearupwebbroot "$_currentRoot" "$removelevel" "$token"
break
fi
status=$(echo "$response" | _egrep_o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"') status=$(echo "$response" | _egrep_o '"status":"[^"]*' | cut -d : -f 2 | tr -d '"')
_debug2 status "$status" _debug2 status "$status"
if _contains "$status" "invalid"; then if _contains "$status" "invalid"; then