freemyip: Don't bother setting status on error

It's not necessary because it's already initialized to a non-success
value.
This commit is contained in:
Richard Hansen 2024-07-21 22:57:01 -04:00
parent c53f40d205
commit 9343ebec89

View file

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