summaryrefslogtreecommitdiffstats
path: root/cli/src/cli.c
diff options
context:
space:
mode:
Diffstat (limited to 'cli/src/cli.c')
-rw-r--r--cli/src/cli.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cli/src/cli.c b/cli/src/cli.c
index 59782b42db2..31305b05dc7 100644
--- a/cli/src/cli.c
+++ b/cli/src/cli.c
@@ -519,12 +519,11 @@ main (int argc, char *argv[])
if (ret)
goto out;
-
- ret = cli_input_init (&state);
+ ret = cli_cmd_cond_init ();
if (ret)
goto out;
- ret = cli_cmd_cond_init ();
+ ret = cli_input_init (&state);
if (ret)
goto out;