dnsmadeeasy: Convert string literal to compiled regex
for readability.
This commit is contained in:
parent
ca28694dd7
commit
971fe438a3
1 changed files with 1 additions and 1 deletions
|
@ -6603,7 +6603,7 @@ sub nic_dnsmadeeasy_update {
|
|||
next if !header_ok($h, $reply);
|
||||
my @reply = split /\n/, $reply;
|
||||
my $returned = pop(@reply);
|
||||
if ($returned =~ 'success') {
|
||||
if ($returned =~ qr/success/) {
|
||||
$config{$h}{'ip'} = $ip;
|
||||
$config{$h}{'mtime'} = $now;
|
||||
$config{$h}{'status'} = 'good';
|
||||
|
|
Loading…
Reference in a new issue