URL: https://github.com/SSSD/sssd/pull/783 Title: #783: knownhostsproxy: friendly error msg for NXDOMAIN
jhrozek commented: """ @pbrezina @alexey-tikhonov Does either of you have anything against me pushing the patch with the following diff: ``` diff --git a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c index d2a171dea..c71450632 100644 --- a/src/sss_client/ssh/sss_ssh_knownhostsproxy.c +++ b/src/sss_client/ssh/sss_ssh_knownhostsproxy.c @@ -339,9 +339,8 @@ int main(int argc, const char **argv) } } } else { - fprintf(stderr, - "sss_ssh_knownhostsproxy: Could not resolve hostname %s\n", - pc_host); + ERROR("sss_ssh_knownhostsproxy: Could not resolve hostname %s\n", + pc_host); ret = EFAULT; } ret = (ret == EOK) ? EXIT_SUCCESS : EXIT_FAILURE; ```
(Of course retaining the original authorship..) """
See the full comment at https://github.com/SSSD/sssd/pull/783#issuecomment-494953481