From 02dc89555032c2e045e6910fbc6ee2c45d03a41a Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Tue, 11 Oct 2022 11:06:32 +0200 Subject: [PATCH] CLI fix to break busy-loop waiting for corked show-route exports --- nest/cli.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nest/cli.c b/nest/cli.c index 31deef03f..469d45b62 100644 --- a/nest/cli.c +++ b/nest/cli.c @@ -302,7 +302,8 @@ cli_event(void *data) cli_command(c); } - cli_write_trigger(c); + if (c->tx_pos) + cli_write_trigger(c); } cli * -- 2.47.2