[git commit master 1/1] top: Use _exit() instead of exit() in sighandler

Denys Vlasenko vda.linux at googlemail.com
Wed Oct 27 00:25:16 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=3c99d59b5dd4a4dfbcdf5b98f7a9944bff9c925c
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Marek Polacek <mmpolacek at gmail.com>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 procps/top.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/procps/top.c b/procps/top.c
index 4f37878..f9106fa 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 */
 
 /*
-- 
1.7.1



More information about the busybox-cvs mailing list