lightningd: always use BROKEN log level if we can't spawn a daemon.

Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
Rusty Russell
2020-03-25 14:56:44 +10:30
committed by Christian Decker
parent 3e311b2510
commit e1ba42f139
3 changed files with 15 additions and 11 deletions

View File

@@ -401,8 +401,8 @@ void peer_start_channeld(struct channel *channel,
take(&hsmfd), NULL));
if (!channel->owner) {
log_unusual(channel->log, "Could not subdaemon channel: %s",
strerror(errno));
log_broken(channel->log, "Could not subdaemon channel: %s",
strerror(errno));
channel_fail_reconnect_later(channel,
"Failed to subdaemon channel");
return;