summaryrefslogtreecommitdiff
path: root/stubdom/grub.patches/11graphics-keyboard.diff
blob: fe17b20a6ff3cecc050d61790de46f33daa0732f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/stage2/stage2.c b/stage2/stage2.c
index 9d9fcc3..8353a3b 100644
--- a/stage2/stage2.c
+++ b/stage2/stage2.c
@@ -395,7 +395,7 @@ restart:
 	 pressed.  
 	 This avoids polling (relevant in the grub-shell and later on
 	 in grub if interrupt driven I/O is done).  */
-      if (checkkey () >= 0 || grub_timeout < 0)
+      if (checkkey () > 0 || grub_timeout < 0)
 	{
 	  /* Key was pressed, show which entry is selected before GETKEY,
 	     since we're comming in here also on GRUB_TIMEOUT == -1 and