dnsmadeeasy: Don't bother setting status
on failure
It's already initialized to a non-success value.
This commit is contained in:
parent
971fe438a3
commit
b07aa91ed5
1 changed files with 0 additions and 1 deletions
|
@ -6609,7 +6609,6 @@ sub nic_dnsmadeeasy_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';
|
|
||||||
my $err = $messages{$returned} ? "$returned: $messages{$returned}" : $returned;
|
my $err = $messages{$returned} ? "$returned: $messages{$returned}" : $returned;
|
||||||
failed("$h: Server said: $err");
|
failed("$h: Server said: $err");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue