diff options
| author | Leon Yu <[email protected]> | 2019-06-21 12:12:39 +0800 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2019-07-24 13:16:29 -0400 |
| commit | dfaad8208f069f95d35f52c4cc69b1a05cd60f75 (patch) | |
| tree | e46c6a1303ef7cfee8c5e301e4c6b03e59b95542 /scripts/checkstack.pl | |
| parent | be683756f620349966e0ebb4a5e02e5ff03c8a8e (diff) | |
menu: don't bother going interactive with just one menu item
If there is only one menu item available, prompting user to enter
choice makes little sense and just causes unnecessary boot delay. This
change makes menu_get_choice return the only one item when there is no
other choices.
Signed-off-by: Leon Yu <[email protected]>
Cc: Tom Warren <[email protected]>
Cc: Stephen Warren <[email protected]>
Cc: Thierry Reding <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions
