dyndns1: Move else
case up a level for readability
This commit is contained in:
parent
02c80fdf09
commit
2534375cfd
1 changed files with 5 additions and 6 deletions
|
@ -3758,14 +3758,13 @@ sub nic_dyndns1_update {
|
|||
warning("SENT: %s", $url) unless opt('verbose');
|
||||
warning("REPLIED: %s", $reply);
|
||||
failed("updating %s: %s", $h, $title);
|
||||
|
||||
} else {
|
||||
next;
|
||||
}
|
||||
$config{$h}{'ip'} = $ip;
|
||||
$config{$h}{'mtime'} = $now;
|
||||
$config{$h}{'status'} = 'good';
|
||||
success("updating %s: %s: IP address set to %s (%s)", $h, $return_code, $ip, $title);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
######################################################################
|
||||
|
|
Loading…
Reference in a new issue