summaryrefslogtreecommitdiffstats
path: root/text-utils/ul.c
diff options
context:
space:
mode:
authorMarek Polacek2010-10-29 00:55:07 +0200
committerKarel Zak2010-10-29 13:26:25 +0200
commit50644ff4de8126eb132fa94ae4645fb19871f5b6 (patch)
tree1984291cf0520d6123ac440611fc74d7ee10644d /text-utils/ul.c
parentagetty: fix -s option (baud rate setup) (diff)
downloadkernel-qcow2-util-linux-50644ff4de8126eb132fa94ae4645fb19871f5b6.tar.gz
kernel-qcow2-util-linux-50644ff4de8126eb132fa94ae4645fb19871f5b6.tar.xz
kernel-qcow2-util-linux-50644ff4de8126eb132fa94ae4645fb19871f5b6.zip
use _exit() instead of exit() in sighandlers
Signed-off-by: Marek Polacek <mmpolacek@gmail.com>
Diffstat (limited to 'text-utils/ul.c')
-rw-r--r--text-utils/ul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/text-utils/ul.c b/text-utils/ul.c
index 4601e3c7c..dbcc32148 100644
--- a/text-utils/ul.c
+++ b/text-utils/ul.c
@@ -604,7 +604,7 @@ needcol(int col) {
static void sig_handler(int signo)
{
- exit(EXIT_SUCCESS);
+ _exit(EXIT_SUCCESS);
}
static void exitbuf(void)