dondominio: Don't bother setting status
on error
It's already initialized to a non-success value.
This commit is contained in:
parent
2823e47c58
commit
8b58f7bd99
1 changed files with 0 additions and 1 deletions
|
@ -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");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue