summaryrefslogtreecommitdiff
path: root/src/clients
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2023-07-23 13:15:03 +0000
committerLaurent Bercot <ska@appnovation.com>2023-07-23 13:15:03 +0000
commit629663ac18d277bd71c8c50e6b53957c741059c1 (patch)
treeb5f22d6878718f740800c3d31a326c63b2cb3708 /src/clients
parent0ddf996441b3465e968be5d0aa61e5b6f3dbdbe2 (diff)
downloads6-dns-629663ac18d277bd71c8c50e6b53957c741059c1.tar.xz
Fix wrong error on nodata in s6-dnsip
Signed-off-by: Laurent Bercot <ska@appnovation.com>
Diffstat (limited to 'src/clients')
-rw-r--r--src/clients/s6-dnsip.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/clients/s6-dnsip.c b/src/clients/s6-dnsip.c
index 041d450..68ce62b 100644
--- a/src/clients/s6-dnsip.c
+++ b/src/clients/s6-dnsip.c
@@ -72,7 +72,6 @@ int main (int argc, char const *const *argv)
{
r = s6dns_resolve_aaaaa_g(&ips, argv[0], strlen(argv[0]), flagqualify, &deadline) ;
if (r < 0) strerr_diefu2sys((errno == ETIMEDOUT) ? 99 : 111, "resolve ", argv[0]) ;
- if (!r) strerr_diefu4x(2, "resolve ", argv[0], ": ", s6dns_constants_error_str(errno)) ;
}
if (!genalloc_len(ip46full, &ips)) return 1 ;