Date: Mon, 23 Jun 2014 22:24:23 +0200

Signed-off-by: Paul Menzel <[email protected]>
---
 src/boot.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/boot.c b/src/boot.c
index 5837ad0..ed8f5e2 100644
--- a/src/boot.c
+++ b/src/boot.c
@@ -486,6 +486,10 @@ interactive_bootmenu(void)
                , strtcpy(desc, pos->description, ARRAY_SIZE(desc)));
     }
 
+    if (maxmenu < 2)
+        printf("Autoselect only entry.\n")
+        return;
+
     // Get key press
     for (;;) {
         scan_code = get_keystroke(1000);
-- 
2.0.0

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
SeaBIOS mailing list
[email protected]
http://www.seabios.org/mailman/listinfo/seabios

Reply via email to