summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *