summaryrefslogtreecommitdiffstats
path: root/src/options.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.c')
-rw-r--r--src/options.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/options.c b/src/options.c
index f7dd88f..c86717b 100644
--- a/src/options.c
+++ b/src/options.c
@@ -251,8 +251,7 @@ static void option_protocol(fastd_context_t *ctx, fastd_config_t *conf, const ch
}
static void option_method(fastd_context_t *ctx, fastd_config_t *conf, const char *arg) {
- if (!fastd_config_method(ctx, conf, arg))
- exit_error(ctx, "unsupported method `%s'", arg);
+ fastd_config_method(ctx, conf, arg);
}
static void option_forward(fastd_context_t *ctx UNUSED, fastd_config_t *conf) {