summaryrefslogtreecommitdiffstats
path: root/src/sss_client/ssh/sss_ssh_client.c
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-05-28 06:58:16 -0400
committerStephen Gallagher <sgallagh@redhat.com>2012-05-31 15:53:31 -0400
commit8e911f93054c410cfbec3c3b71f74081468451de (patch)
treefe67765df4bb5849906be4fa47068b6790aec6de /src/sss_client/ssh/sss_ssh_client.c
parent6b81b6ada1010e65b447fc74453e236fb8791813 (diff)
downloadsssd_unused-8e911f93054c410cfbec3c3b71f74081468451de.tar.gz
sssd_unused-8e911f93054c410cfbec3c3b71f74081468451de.tar.xz
sssd_unused-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.c8
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 8520cd1b..645f2928 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;