mirror of https://github.com/omar-polo/gmid.git
fix config dumping (-nn) handling
with the privsep rework the config dumping was unadvertitely broken, it prints the content of the key itself.
This commit is contained in:
parent
40ea7b163e
commit
f53f5e5fe1
4
gmid.c
4
gmid.c
|
@ -605,8 +605,8 @@ main_print_conf(struct conf *conf)
|
|||
|
||||
TAILQ_FOREACH(h, &conf->hosts, vhosts) {
|
||||
printf("\nserver \"%s\" {\n", h->domain);
|
||||
printf(" cert \"%s\"\n", h->cert);
|
||||
printf(" key \"%s\"\n", h->key);
|
||||
printf(" cert \"%s\"\n", h->cert_path);
|
||||
printf(" key \"%s\"\n", h->key_path);
|
||||
/* TODO: print locations... */
|
||||
printf("}\n");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue