Merge 21317e2821 into a8f252e45d
This commit is contained in:
commit
38cc3af456
@ -134,7 +134,7 @@ _ISPC_getZoneInfo() {
|
|||||||
curResult="$(_post "${curData}" "${ISPC_Api}?client_get_id")"
|
curResult="$(_post "${curData}" "${ISPC_Api}?client_get_id")"
|
||||||
_debug "Calling _ISPC_ClientGetID: '${curData}' '${ISPC_Api}?client_get_id'"
|
_debug "Calling _ISPC_ClientGetID: '${curData}' '${ISPC_Api}?client_get_id'"
|
||||||
_debug "Result of _ISPC_ClientGetID: '$curResult'"
|
_debug "Result of _ISPC_ClientGetID: '$curResult'"
|
||||||
client_id=$(echo "${curResult}" | _egrep_o "response.*" | cut -d ':' -f 2 | cut -d '"' -f 2 | tr -d '{}')
|
client_id=$(echo "${curResult}" | _egrep_o "response.*" | cut -d ':' -f 2 | cut -d '"' -f 2 | cut -d '[' -f 1 | tr -d '{}')
|
||||||
_debug "Client ID: '${client_id}'"
|
_debug "Client ID: '${client_id}'"
|
||||||
case "${client_id}" in
|
case "${client_id}" in
|
||||||
'' | *[!0-9]*)
|
'' | *[!0-9]*)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user