diff options
author | Jan Cholasta <jcholast@redhat.com> | 2012-05-28 06:58:16 -0400 |
---|---|---|
committer | Stephen Gallagher <sgallagh@redhat.com> | 2012-05-31 15:53:31 -0400 |
commit | 8e911f93054c410cfbec3c3b71f74081468451de (patch) | |
tree | fe67765df4bb5849906be4fa47068b6790aec6de /src/sss_client/ssh/sss_ssh_client.c | |
parent | 6b81b6ada1010e65b447fc74453e236fb8791813 (diff) | |
download | sssd-8e911f93054c410cfbec3c3b71f74081468451de.tar.gz sssd-8e911f93054c410cfbec3c3b71f74081468451de.tar.xz sssd-8e911f93054c410cfbec3c3b71f74081468451de.zip |
SSH: Supress error message output in sss_ssh_knownhostsproxy
Diffstat (limited to 'src/sss_client/ssh/sss_ssh_client.c')
-rw-r--r-- | src/sss_client/ssh/sss_ssh_client.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sss_client/ssh/sss_ssh_client.c b/src/sss_client/ssh/sss_ssh_client.c index 8520cd1b1..645f29289 100644 --- a/src/sss_client/ssh/sss_ssh_client.c +++ b/src/sss_client/ssh/sss_ssh_client.c @@ -146,14 +146,14 @@ sss_ssh_get_ent(TALLOC_CTX *mem_ctx, rd.len = req_len; req_ret = sss_ssh_make_request(command, &rd, &rep, &rep_len, &req_errno); - if (req_ret != SSS_STATUS_SUCCESS) { - ret = EFAULT; - goto done; - } if (req_errno != EOK) { ret = req_errno; goto done; } + if (req_ret != SSS_STATUS_SUCCESS) { + ret = EFAULT; + goto done; + } /* parse reply */ c = 0; |