Fix 'run' not to continue after interrupted command

Signed-off-by: Detlev Zundel <dzu@denx.de>
master
Detlev Zundel 17 years ago
parent 9045f33c02
commit 5afb202093
  1. 2
      common/main.c

@ -1336,7 +1336,7 @@ int run_command (const char *cmd, int flag)
/* Did the user stop this? */
if (had_ctrlc ())
return 0; /* if stopped then not repeatable */
return -1; /* if stopped then not repeatable */
}
return rc ? rc : repeatable;

Loading…
Cancel
Save