aboutsummaryrefslogtreecommitdiff
path: root/projects/cli-test/mgmt-cli.c
diff options
context:
space:
mode:
authorFredrik Thulin <fredrik@thulin.net>2016-06-08 09:29:45 +0200
committerFredrik Thulin <fredrik@thulin.net>2016-06-08 09:29:45 +0200
commit9abe50042629ac64443738d4f4b66da95b116686 (patch)
tree55cb03618ac1d7c58ab60717e606ca554b190e57 /projects/cli-test/mgmt-cli.c
parent3277ffbfe960da93c6f617005cc619958ed419d8 (diff)
parent8c345a87ef4d72d3aef2af9fc4114599d7ee0e56 (diff)
Merge branch 'master' of git.cryptech.is.:sw/stm32
Diffstat (limited to 'projects/cli-test/mgmt-cli.c')
-rw-r--r--projects/cli-test/mgmt-cli.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/projects/cli-test/mgmt-cli.c b/projects/cli-test/mgmt-cli.c
index 3b4ffe9..9488398 100644
--- a/projects/cli-test/mgmt-cli.c
+++ b/projects/cli-test/mgmt-cli.c
@@ -147,7 +147,8 @@ int embedded_cli_loop(struct cli_def *cli)
continue;
}
- if (ctx.l < 0) break;
+ if (ctx.l < 0)
+ continue;
/* cli_print(cli, "Process command: '%s'", ctx.cmd); */
n = cli_loop_process_cmd(cli, &ctx);