summaryrefslogtreecommitdiff
path: root/nest
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-10-11 11:06:32 +0200
committerMaria Matejka <mq@ucw.cz>2022-10-12 10:05:14 +0200
commit02dc89555032c2e045e6910fbc6ee2c45d03a41a (patch)
tree8f7b92fd757ec4c939f739854d0d548a3345473b /nest
parent2ae32374dd17cb3b22d9ee35265ed27490643924 (diff)
CLI fix to break busy-loop waiting for corked show-route exports
Diffstat (limited to 'nest')
-rw-r--r--nest/cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/cli.c b/nest/cli.c
index 31deef03..469d45b6 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 *