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
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment