commit | eeab5a1db3a536fa39d1cf658f4e8a52d0c6c983 | [log] [tgz] |
---|---|---|
author | Detlev Zundel <dzu@denx.de> | Wed May 23 18:47:48 2007 +0200 |
committer | Detlev Zundel <dzu@denx.de> | Tue Jun 12 14:23:00 2007 +0200 |
tree | 7d8dc91991f11bbf86f851ff05e26f18fd34c058 | |
parent | d2a7a74aa9c60e5e3765c0c049bbf3d6365c19e0 [diff] |
Fix 'run' not to continue after interrupted command Signed-off-by: Detlev Zundel <dzu@denx.de>
diff --git a/common/main.c b/common/main.c index 09ee64b..553ac35 100644 --- a/common/main.c +++ b/common/main.c
@@ -1336,7 +1336,7 @@ /* 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;