Add the reset atexit handler right after setting the terminal to raw mode, so we...
authorDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 21 Sep 2006 19:42:31 +0000 (19:42 +0000)
committerDaniel Hokka Zakrisson <daniel@hozac.com>
Thu, 21 Sep 2006 19:42:31 +0000 (19:42 +0000)
commit0a085a83576911f849c718e0e7a3d6d4865145d6
tree66602dfc86c613d2c30f2d8f666c4ad81cd12a4e
parent8591304a8b064ccedfeb2a44fcce93a336aa7a40
Add the reset atexit handler right after setting the terminal to raw mode, so we don't end up with a raw terminal if (e.g.) openpty fails.

git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2325 94cd875c-1c1d-0410-91d2-eb244daf1a30
src/vlogin.c