summaryrefslogtreecommitdiffstats
path: root/vlib
diff options
context:
space:
mode:
Diffstat (limited to 'vlib')
-rw-r--r--vlib/vlib/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vlib/vlib/cli.c b/vlib/vlib/cli.c
index e0e54fd4f65..8833f4ac261 100644
--- a/vlib/vlib/cli.c
+++ b/vlib/vlib/cli.c
@@ -338,7 +338,7 @@ vlib_cli_dispatch_sub_commands (vlib_main_t * vm,
if (unformat_user (input, unformat_vlib_cli_sub_command, vm, c, &parent))
;
- else if (! unformat_check_input (input) == UNFORMAT_END_OF_INPUT)
+ else if (! (unformat_check_input (input) == UNFORMAT_END_OF_INPUT))
goto unknown;
else