diff options
author | Marek Polacek | 2010-10-27 02:25:16 +0200 |
---|---|---|
committer | Denys Vlasenko | 2010-10-27 02:25:16 +0200 |
commit | 3c99d59b5dd4a4dfbcdf5b98f7a9944bff9c925c (patch) | |
tree | dddf3b34b92dd93a3834a01fa64bd5ecb9b51037 /procps | |
parent | 55a046b4dbca9df876e9bb67a16dde2ee3d9adb0 (diff) | |
download | busybox-3c99d59b5dd4a4dfbcdf5b98f7a9944bff9c925c.zip busybox-3c99d59b5dd4a4dfbcdf5b98f7a9944bff9c925c.tar.gz |
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>
Diffstat (limited to 'procps')
-rw-r--r-- | 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 */ /* |