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) {
|
TAILQ_FOREACH(h, &conf->hosts, vhosts) {
|
||||||
printf("\nserver \"%s\" {\n", h->domain);
|
printf("\nserver \"%s\" {\n", h->domain);
|
||||||
printf(" cert \"%s\"\n", h->cert);
|
printf(" cert \"%s\"\n", h->cert_path);
|
||||||
printf(" key \"%s\"\n", h->key);
|
printf(" key \"%s\"\n", h->key_path);
|
||||||
/* TODO: print locations... */
|
/* TODO: print locations... */
|
||||||
printf("}\n");
|
printf("}\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue