summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2012-02-27 03:59:46 -0500
committerStephen Gallagher <sgallagh@redhat.com>2012-02-27 11:52:34 -0500
commit7aaf963f23158789a0f6fe3631608e274dd4238f (patch)
tree4316399c4ede95e30ee508539c743c52068f15ea
parentc83ebdbc0629313ef6594215ed1674b9a783cfdd (diff)
downloadsssd-7aaf963f23158789a0f6fe3631608e274dd4238f.tar.gz
sssd-7aaf963f23158789a0f6fe3631608e274dd4238f.tar.xz
sssd-7aaf963f23158789a0f6fe3631608e274dd4238f.zip
SSH: Don't abort known_hosts update when host search fails
-rw-r--r--src/responder/ssh/sshsrv_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/responder/ssh/sshsrv_cmd.c b/src/responder/ssh/sshsrv_cmd.c
index 2b281e786..4768d547d 100644
--- a/src/responder/ssh/sshsrv_cmd.c
+++ b/src/responder/ssh/sshsrv_cmd.c
@@ -492,7 +492,7 @@ ssh_host_pubkeys_update_known_hosts(struct ssh_cmd_ctx *cmd_ctx)
ret = sysdb_search_ssh_hosts(tmp_ctx, sysdb, "*", attrs,
&hosts, &num_hosts);
if (ret != EOK) {
- goto done;
+ continue;
}
for (i = 0; i < num_hosts; i++) {