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:
parent
55a046b4db
commit
3c99d59b5d
@ -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 */
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user