dnsexit2: Delete redundant check
`header_ok` already checks whether the response is `undef`.
This commit is contained in:
parent
e5b00216ec
commit
56f0d931a4
1 changed files with 1 additions and 1 deletions
|
@ -4022,7 +4022,7 @@ sub dnsexit2_update_host {
|
||||||
update => \@updates,
|
update => \@updates,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
unless ($reply && header_ok($h, $reply)) {
|
if (!header_ok($h, $reply)) {
|
||||||
failed("$h: request to $url failed");
|
failed("$h: request to $url failed");
|
||||||
return;
|
return;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue