From: Detlev Zundel Date: Wed, 23 May 2007 16:47:48 +0000 (+0200) Subject: Fix 'run' not to continue after interrupted command X-Git-Tag: v1.3.0-rc4~83 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=5afb202093f6a001797db92cf695b93a70ea9ab4;p=kernel%2Fu-boot.git Fix 'run' not to continue after interrupted command Signed-off-by: Detlev Zundel --- 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 @@ 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;