mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-03-11 09:20:25 +07:00
util: leave locked terminal attributes untouched so that we don't interfere with plymouth
https://bugzilla.redhat.com/show_bug.cgi?id=628913
This commit is contained in:
parent
7b2603e646
commit
eed1d0e33d
@ -1917,9 +1917,9 @@ int reset_terminal(int fd) {
|
||||
|
||||
assert(fd >= 0);
|
||||
|
||||
/* First, unlock termios */
|
||||
zero(termios);
|
||||
ioctl(fd, TIOCSLCKTRMIOS, &termios);
|
||||
/* We leave locked terminal attributes untouched, so that
|
||||
* Plymouth may set whatever it wants to set, and we don't
|
||||
* interfere with that. */
|
||||
|
||||
/* Disable exclusive mode, just in case */
|
||||
ioctl(fd, TIOCNXCL);
|
||||
|
Loading…
Reference in New Issue
Block a user