init: if tcgetattr() fails, don't even try to tcsetattr()
authorDenys Vlasenko <vda.linux@googlemail.com>
Mon, 2 Dec 2019 15:39:54 +0000 (16:39 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Mon, 2 Dec 2019 15:39:54 +0000 (16:39 +0100)
commit113c776f4d2ce4ead7c2d11a3ca62adeec9a2e34
tree86ebfbdf565a9c2fe07b564c6e7e565281426b5a
parent259747caa7d86a5a46013b80a19b2ee2d4e0a73b
init: if tcgetattr() fails, don't even try to tcsetattr()

function                                             old     new   delta
set_sane_term                                        111     114      +3

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
init/init.c