Browse Source

Test return status of DNS_ADD_COMMAND

pull/45/head
Hadley Rich 10 years ago
parent
commit
456f535597
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      getssl

+ 3
- 0
getssl View File

@ -947,6 +947,9 @@ for d in $alldomains; do
debug "adding dns via command: $DNS_ADD_COMMAND $d $auth_key"
$DNS_ADD_COMMAND "$d" "$auth_key"
if [ $? -gt 0 ]; then
error_exit "DNS_ADD_COMMAND failed for domain $d"
fi
# find a primary / authoritative DNS server for the domain
if [ -z "$AUTH_DNS_SERVER" ]; then


Loading…
Cancel
Save