Update cloudflare.sh

This commit is contained in:
tianyu 2018-09-08 15:18:59 +08:00 committed by GitHub
parent 6525d440d3
commit 4d04ee21aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 1 deletions

View File

@ -80,7 +80,10 @@ updateDomain() {
}
getZoneID
getDomainID
if [ -z "$ALWAYS_CREATE_DOMAIN" ]; then
getDomainID
fi
if [ -z "$CF_DOMAIN_ID" ];then
createDomain