Remove duplicate command-line option parsing.

Also fix parsing of command-line host configuration options for the local node.
This commit is contained in:
Guus Sliepen 2010-10-22 13:06:06 +02:00
parent ff71f28902
commit 667b1bac77
5 changed files with 40 additions and 36 deletions

View file

@ -300,6 +300,7 @@ bool setup_myself(void) {
myself->name = name;
myself->connection->name = xstrdup(name);
xasprintf(&fname, "%s/hosts/%s", confbase, name);
read_config_options(config_tree, name);
read_config_file(config_tree, fname);
free(fname);