mirror of
https://xff.cz/git/u-boot/
synced 2025-09-29 22:41:17 +02:00
Fix 'run' not to continue after interrupted command
Signed-off-by: Detlev Zundel <dzu@denx.de>
This commit is contained in:
@@ -1336,7 +1336,7 @@ int run_command (const char *cmd, int flag)
|
|||||||
|
|
||||||
/* Did the user stop this? */
|
/* Did the user stop this? */
|
||||||
if (had_ctrlc ())
|
if (had_ctrlc ())
|
||||||
return 0; /* if stopped then not repeatable */
|
return -1; /* if stopped then not repeatable */
|
||||||
}
|
}
|
||||||
|
|
||||||
return rc ? rc : repeatable;
|
return rc ? rc : repeatable;
|
||||||
|
Reference in New Issue
Block a user