dondominio: Don't bother setting status on error

It's already initialized to a non-success value.
This commit is contained in:
Richard Hansen 2024-07-23 00:27:52 -04:00
parent 2823e47c58
commit 8b58f7bd99

View file

@ -6538,7 +6538,6 @@ sub nic_dondominio_update {
$config{$h}{'status'} = 'good'; $config{$h}{'status'} = 'good';
success("$h: IP address set to $ip"); success("$h: IP address set to $ip");
} else { } else {
$config{$h}{'status'} = 'failed';
failed("$h: Server said: $returned"); failed("$h: Server said: $returned");
} }
} }