top: Use _exit() instead of exit() in sighandler

Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Marek Polacek 2010-10-27 02:25:16 +02:00 committed by Denys Vlasenko
parent 55a046b4db
commit 3c99d59b5d

View File

@ -649,8 +649,9 @@ static void reset_term(void)
static void sig_catcher(int sig UNUSED_PARAM)
{
reset_term();
exit(EXIT_FAILURE);
_exit(EXIT_FAILURE);
}
#endif /* FEATURE_USE_TERMIOS */
/*