Commit e03ca66b authored by Niels Möller's avatar Niels Möller
Browse files

(read_known_hosts): Fixed the message about old

known_hosts files.

Rev: src/lsh.c:1.179
parent 7166e296
......@@ -217,7 +217,8 @@ read_known_hosts(struct lsh_options *options)
if (fd < 0)
{
struct stat sbuf;
/* FIXME: Don't reuse tmp here. */
lsh_string_free(tmp);
tmp = ssh_format("%lz/.lsh/known_hosts", options->home);
......@@ -225,7 +226,8 @@ read_known_hosts(struct lsh_options *options)
{
werror("You have an old known-hosts file `%S'.\n"
"To work with lsh-2.0, run the lsh-upgrade script,\n"
"which will convert that to a new host-acls file.\n");
"which will convert that to a new host-acls file.\n",
tmp);
}
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment