diff --git a/ddclient.in b/ddclient.in index 7a3e5f7..6396281 100755 --- a/ddclient.in +++ b/ddclient.in @@ -4022,7 +4022,7 @@ sub dnsexit2_update_host { update => \@updates, }), ); - unless ($reply && header_ok($h, $reply)) { + if (!header_ok($h, $reply)) { failed("$h: request to $url failed"); return; };