Skip to content
Snippets Groups Projects
Commit 52715f89 authored by Thomas Betker's avatar Thomas Betker Committed by Tom Rini
Browse files

Use run_command_repeatable()


Replace run_command() by run_command_repeatable() in places which
depend on the return code to indicate repeatability.

Signed-off-by: default avatarThomas Betker <thomas.betker@rohde-schwarz.com>
Acked-by: default avatarSimon Glass <sjg@chromium.org>
Tested-by: default avatarSimon Glass <sjg@chromium.org>
parent 1d43bfd2
No related branches found
No related tags found
No related merge requests found
......@@ -295,7 +295,7 @@ void cli_simple_loop(void)
if (len == -1)
puts("<INTERRUPT>\n");
else
rc = run_command(lastcommand, flag);
rc = run_command_repeatable(lastcommand, flag);
if (rc <= 0) {
/* invalid command or not repeatable, forget it */
......
......@@ -238,7 +238,7 @@ void bedbug_main_loop (unsigned long addr, struct pt_regs *regs)
if (len == -1)
printf ("<INTERRUPT>\n");
else
rc = run_command(lastcommand, flag);
rc = run_command_repeatable(lastcommand, flag);
if (rc <= 0) {
/* invalid command or not repeatable, forget it */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment