diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/fastd.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/fastd.c b/src/fastd.c index aa22cc0..ed47831 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -715,7 +715,6 @@ int main(int argc, char *argv[]) { fastd_random_bytes(&ctx, &ctx.randseed, sizeof(ctx.randseed), false); - init_signals(&ctx); init_pipes(&ctx); fastd_config_t conf; @@ -728,6 +727,8 @@ int main(int argc, char *argv[]) { exit(0); } + init_signals(&ctx); + conf.protocol_config = conf.protocol->init(&ctx); if (conf.show_key) { |