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 <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell 2017-11-20 16:40:37 +10:30 committed by Christian Decker
parent 0a131c6389
commit 593d0fa625

View File

@ -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;