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>
1_18_stable
Marek Polacek 2010-10-27 02:25:16 +02:00 committed by Denys Vlasenko
parent 55a046b4db
commit 3c99d59b5d
1 changed files with 2 additions and 1 deletions

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 */
/*