aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--procps/top.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index 4f37878de..f9106fac7 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -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 */
/*