fix format

This commit is contained in:
neil 2021-01-16 23:50:57 +08:00
parent 768e9f4c09
commit 289f79bbb0

View File

@ -130,11 +130,11 @@ _ISPC_getZoneInfo() {
client_id=$(echo "${curResult}" | _egrep_o "response.*" | cut -d ':' -f 2 | cut -d '"' -f 2 | tr -d '{}')
_debug "Client ID: '${client_id}'"
case "${client_id}" in
'' | *[!0-9]*)
'' | *[!0-9]*)
_err "Client ID is not numeric."
return 1
;;
*) _info "Retrieved Client ID." ;;
*) _info "Retrieved Client ID." ;;
esac
}