Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- commands/mem.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/commands/mem.c b/commands/mem.c index a5eea36..88af55c 100644 --- a/commands/mem.c +++ b/commands/mem.c @@ -483,6 +483,9 @@ static int do_mem_cp(struct command *cmdtp, int argc, char *argv[]) } count -= r; + + if (ctrlc()) + goto out; } if (count) { -- 1.7.5.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox