Commit 52715f89317ef24426a4613bd2980debfa4699b7

Authored by Thomas Betker
Committed by Tom Rini
1 parent 1d43bfd2d5

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: Thomas Betker <thomas.betker@rohde-schwarz.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>

Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff

... ... @@ -295,7 +295,7 @@
295 295 if (len == -1)
296 296 puts("<INTERRUPT>\n");
297 297 else
298   - rc = run_command(lastcommand, flag);
  298 + rc = run_command_repeatable(lastcommand, flag);
299 299  
300 300 if (rc <= 0) {
301 301 /* invalid command or not repeatable, forget it */
... ... @@ -238,7 +238,7 @@
238 238 if (len == -1)
239 239 printf ("<INTERRUPT>\n");
240 240 else
241   - rc = run_command(lastcommand, flag);
  241 + rc = run_command_repeatable(lastcommand, flag);
242 242  
243 243 if (rc <= 0) {
244 244 /* invalid command or not repeatable, forget it */