diff options
author | Tuomas Tynkkynen <tuomas.tynkkynen@iki.fi> | 2015-05-07 18:29:19 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-05-27 17:35:54 (GMT) |
commit | 9b081d8893c4fce3451e3a5a4d5ac5a9960874ae (patch) | |
tree | 2897e65ab1e353a66bf4a5cb7d2ab42f6db0674f /common/cmd_trace.c | |
parent | 0ece6b50f153fe2d349f4d26b18de4b0a3273537 (diff) | |
download | u-boot-fsl-qoriq-9b081d8893c4fce3451e3a5a4d5ac5a9960874ae.tar.xz |
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>
Diffstat (limited to 'common/cmd_trace.c')
0 files changed, 0 insertions, 0 deletions