commit | 60c47af577d2db202a8cd5b741802e04c0cb80d0 | [log] [tgz] |
---|---|---|
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | Thu May 07 21:29:19 2015 +0300 |
committer | Tom Rini <trini@konsulko.com> | Wed May 27 13:35:54 2015 -0400 |
tree | 2897e65ab1e353a66bf4a5cb7d2ab42f6db0674f | |
parent | 22591d0ffb18beaf4bbd0e40ad9be6fb2c8b95fb [diff] |
menu: Return an error code if Ctrl-C is pressed Previously, if the menu activated by the 'sysboot' command gets interrupted by a Ctrl-C, the behaviour is as if the menu timeout was reached - i.e. boot the default menu entry. This patch fixes that so a Ctrl-C now terminates the command as the user would expect. Signed-off-by: Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> Reviewed-by: Simon Glass <sjg@chromium.org>