From ac67c04f1372c1348cf23a5fe640f63f04daf6c9 Mon Sep 17 00:00:00 2001 From: Richard Hansen Date: Fri, 30 Aug 2024 17:19:55 -0400 Subject: [PATCH] _read_config: Check `host` definedness, not existence --- ddclient.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ddclient.in b/ddclient.in index 2b1bb0a..f5bb1ec 100755 --- a/ddclient.in +++ b/ddclient.in @@ -1893,7 +1893,7 @@ sub _read_config { } } %passwords = (); - if (exists($locals{'host'})) { + if (defined($locals{'host'})) { $args[0] = (@args ? "$args[0]," : '') . $locals{host}; } ## accumulate globals