]> granicus.if.org Git - sudo/commit
In pty_cleanup() we need to call sudo_term_restore() even if no I/O
authorTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 19 Feb 2018 18:00:12 +0000 (11:00 -0700)
committerTodd C. Miller <Todd.Miller@sudo.ws>
Mon, 19 Feb 2018 18:00:12 +0000 (11:00 -0700)
commitd5d170252a1065a6b10c3e8d0a7df1aee13a33df
treef2b60bb875a4e73e521d6f83eec4329f2be859a7
parent42fe0409f61ac4fd862a4756fa9b630d5e67553b
In pty_cleanup() we need to call sudo_term_restore() even if no I/O
plugins are present as long as /dev/tty exists.  Fixes the use_pty
case with no I/O plugins.
src/exec_pty.c