From 593d0fa625c24514a86dc5c5aab1586f513bc48b Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Mon, 20 Nov 2017 16:40:37 +1030 Subject: [PATCH] lightningd: initialize dev_subdaemon_fail to false. Our testsuite uses --dev-fail-on-subdaemon-fail, so I didn't notice this until I turned that off to chase a bug. Signed-off-by: Rusty Russell --- lightningd/lightningd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/lightningd/lightningd.c b/lightningd/lightningd.c index 124aa1ab4..520b506d3 100644 --- a/lightningd/lightningd.c +++ b/lightningd/lightningd.c @@ -86,6 +86,7 @@ static struct lightningd *new_lightningd(const tal_t *ctx, ld->dev_debug_subdaemon = NULL; ld->dev_disconnect_fd = -1; ld->dev_hsm_seed = NULL; + ld->dev_subdaemon_fail = false; #endif return ld;