From 629663ac18d277bd71c8c50e6b53957c741059c1 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Sun, 23 Jul 2023 13:15:03 +0000 Subject: Fix wrong error on nodata in s6-dnsip Signed-off-by: Laurent Bercot --- src/clients/s6-dnsip.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/clients') 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 ; -- cgit v1.2.3