mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-11 07:34:31 +00:00
Fix 'run' not to continue after interrupted command
Signed-off-by: Detlev Zundel <dzu@denx.de>
This commit is contained in:
parent
9045f33c02
commit
5afb202093
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue