Use _exit() instead of exit() in sighandler.  No logic changes.

Signed-off-by: Marek Polacek <[email protected]>
---
 procps/top.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/procps/top.c b/procps/top.c
index 4f37878..b5a4c2c 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -649,7 +649,7 @@ 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 */

-- 
1.7.3.2



_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to