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

@@ -202,7 +202,7 @@ void peer_start_closingd(struct channel *channel,
NULL));
if (!channel->owner) {
log_unusual(channel->log, "Could not subdaemon closing: %s",
log_broken(channel->log, "Could not subdaemon closing: %s",
strerror(errno));
channel_fail_reconnect_later(channel,
"Failed to subdaemon closing");