diff --git a/dyndomain b/dyndomain index 4234537..fa4846e 100755 --- a/dyndomain +++ b/dyndomain @@ -244,9 +244,9 @@ update_zone_list = make_update_zone_list(zone_list, prev_zone_list) log_update_zone(update_zone_list, delete_zone_list) -sucess = ovh_update_zone(zone_domain, update_zone_list, delete_zone_list) +success = ovh_update_zone(zone_domain, update_zone_list, delete_zone_list) -if sucess: +if success: new_zone_list = write_zone_list_to_file(zone_filename, zone_list) send_update_mail(mail_to, mail_from, zone_domain, update_zone_list, delete_zone_list, mail_ignore_list, wan)