From: Lennart Poettering Date: Tue, 31 Aug 2010 22:10:41 +0000 (+0200) Subject: util: leave locked terminal attributes untouched so that we don't interfere with... X-Git-Tag: v9~18 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eed1d0e33d0a46fb562820518031e3f861f9dcdc;p=systemd util: leave locked terminal attributes untouched so that we don't interfere with plymouth https://bugzilla.redhat.com/show_bug.cgi?id=628913 --- diff --git a/src/util.c b/src/util.c index f982586c..0cd1fd30 100644 --- a/src/util.c +++ b/src/util.c @@ -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);