summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index 3ee5a76..8ad4f72 100644
--- a/src/config.c
+++ b/src/config.c
@@ -604,6 +604,8 @@ void fastd_configure(fastd_context_t *ctx, fastd_config_t *conf, int argc, char
if (!conf->methods[0])
conf->methods[0] = conf->method_default;
+ ctx->conf = conf;
+
if (conf->generate_key || conf->show_key)
return;
@@ -625,8 +627,6 @@ void fastd_configure(fastd_context_t *ctx, fastd_config_t *conf, int argc, char
#endif
configure_user(ctx, conf);
-
- ctx->conf = conf;
configure_method_parameters(ctx, conf);
}