From ab85dd34d092e09623a185e7f043692130f489ff Mon Sep 17 00:00:00 2001 From: Jan Cholasta Date: Mon, 27 Feb 2012 03:59:46 -0500 Subject: SSH: Don't abort known_hosts update when host search fails --- src/responder/ssh/sshsrv_cmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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++) { -- cgit