chiark / gitweb /
util: leave locked terminal attributes untouched so that we don't interfere with...
authorLennart Poettering <lennart@poettering.net>
Tue, 31 Aug 2010 22:10:41 +0000 (00:10 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 31 Aug 2010 22:10:41 +0000 (00:10 +0200)
https://bugzilla.redhat.com/show_bug.cgi?id=628913

src/util.c

index f982586..0cd1fd3 100644 (file)
@@ -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);