plymouth/plymouth-0.8.3-fix_tty1_echo.patch

13 lines
579 B
Diff
Raw Normal View History

--- plymouth-0.8.3.orig/src/libply-splash-core/ply-terminal.c
+++ plymouth-0.8.3/src/libply-splash-core/ply-terminal.c
@@ -188,7 +188,8 @@
if (tcsetattr (terminal->fd, TCSANOW, &term_attributes) != 0)
return false;
- if (ioctl (terminal->fd, TIOCGLCKTRMIOS, &locked_term_attributes) == 0)
+ if (!terminal->original_locked_term_attributes_saved &&
+ ioctl (terminal->fd, TIOCGLCKTRMIOS, &locked_term_attributes) == 0)
{
terminal->original_locked_term_attributes = locked_term_attributes;
terminal->original_locked_term_attributes_saved = true;