summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/vlib/node_cli.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vlib/node_cli.c b/src/vlib/node_cli.c
index c8e32b58a69..58b63c366bf 100644
--- a/src/vlib/node_cli.c
+++ b/src/vlib/node_cli.c
@@ -562,6 +562,9 @@ show_node (vlib_main_t * vm, unformat_input_t * input,
else
error = clib_error_return (0, "unknown input '%U'",
format_unformat_error, line_input);
+
+ if (error)
+ break;
}
unformat_free (line_input);