Changeset 923


Ignore:
Timestamp:
03/29/06 15:05:08 (7 years ago)
Author:
anarcat
Message:

resolving bug #599: don't fail if change_host_ip() fails in add_host() because the host might not have DNS service in which case change_host_ip() fails

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/update_domains.sh

    r915 r923  
    237237 
    238238    if [ "$host" = "@" ]; then 
    239         change_host_ip "$domain" "$PUBLIC_IP" 
     239        change_host_ip "$domain" "$PUBLIC_IP" || true 
    240240        fqdn="$domain" 
    241241    else 
     
    245245            ip="$PUBLIC_IP" 
    246246        fi 
    247         change_host_ip "$domain" "$ip" "$host" 
     247        change_host_ip "$domain" "$ip" "$host" || true 
    248248        fqdn="${host}.${domain}" 
    249249    fi 
Note: See TracChangeset for help on using the changeset viewer.