mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 14:12:47 +00:00
Travis 3
This commit is contained in:
parent
1ab4565e57
commit
680106582b
@ -91,7 +91,7 @@ _initAuth() {
|
|||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
domainData=$(echo "$response" | tr -d '\r')
|
domainData=$(echo "$response" | tr -d '\r')
|
||||||
# get all Ids and peek only values
|
# get all Ids and peek only values
|
||||||
temp="$(echo "$domainData" | _egrep_o "Id\": [^,]*" | cut -d : -f 2 | head -1)" # first element is zone Id
|
temp="$(echo "$domainData" | _egrep_o "Id\": [^,]*" | cut -d : -f 2 | head -1)" # first element is zone Id
|
||||||
domain_id=$temp
|
domain_id=$temp
|
||||||
@ -185,7 +185,7 @@ _extract_record_id() {
|
|||||||
_debug printf "%s\t%s\n" "$i"
|
_debug printf "%s\t%s\n" "$i"
|
||||||
#_arrayname=$i
|
#_arrayname=$i
|
||||||
_arrayId=$j
|
_arrayId=$j
|
||||||
_info "Found txt record id: $_arrayId"
|
_info "Found txt record id: $_arrayId"
|
||||||
fi
|
fi
|
||||||
j=$(_math "$j" + 1)
|
j=$(_math "$j" + 1)
|
||||||
done
|
done
|
||||||
@ -198,7 +198,7 @@ _extract_record_id() {
|
|||||||
return 0
|
return 0
|
||||||
fi
|
fi
|
||||||
n=$(_math "$n" + 1)
|
n=$(_math "$n" + 1)
|
||||||
done
|
done
|
||||||
|
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user