Line 0
Link Here
|
|
|
1 |
--- grub-core/term/emu/console.c.orig 2015-05-26 09:58:09 UTC |
2 |
+++ grub-core/term/emu/console.c |
3 |
@@ -260,7 +260,7 @@ grub_ncurses_init (struct grub_term_outp |
4 |
|
5 |
if (g_cdev != NULL) { |
6 |
/* Open user-supplied console device. */ |
7 |
- fd = open (g_cdev, O_RDWR); |
8 |
+ fd = open (g_cdev, O_RDWR | O_NONBLOCK); |
9 |
if (fd < 0) |
10 |
return (GRUB_ERR_UNKNOWN_DEVICE); |
11 |
|