Skip to content
Snippets Groups Projects
Commit 5afb2020 authored by Detlev Zundel's avatar Detlev Zundel
Browse files

Fix 'run' not to continue after interrupted command


Signed-off-by: default avatarDetlev Zundel <dzu@denx.de>
parent 9045f33c
No related branches found
No related tags found
No related merge requests found
...@@ -1336,7 +1336,7 @@ int run_command (const char *cmd, int flag) ...@@ -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;
......
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