commit | 9b081d8893c4fce3451e3a5a4d5ac5a9960874ae | [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 | 0ece6b50f153fe2d349f4d26b18de4b0a3273537 [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>