diff options
author | Leah Neukirchen <leah@vuxu.org> | 2017-12-21 22:21:37 +0100 |
---|---|---|
committer | Leah Neukirchen <leah@vuxu.org> | 2017-12-21 22:21:37 +0100 |
commit | d984ff798f88c71abb703e4ac92ee8477b1e8eb3 (patch) | |
tree | 838a10abba24bac00f772186c04bc22ea542c3d6 | |
parent | 12d5593c9baea821ddd0d2faff8ae528e826dc0e (diff) | |
download | extrace-d984ff798f88c71abb703e4ac92ee8477b1e8eb3.tar.gz extrace-d984ff798f88c71abb703e4ac92ee8477b1e8eb3.tar.xz extrace-d984ff798f88c71abb703e4ac92ee8477b1e8eb3.zip |
remove own SIGINT handler, the default handler works well enough
-rw-r--r-- | extrace.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/extrace.c b/extrace.c index f22db7f..16a227b 100644 --- a/extrace.c +++ b/extrace.c @@ -186,13 +186,6 @@ sig2name(int sig) } static void -sigint(int sig) -{ - (void)sig; - quit = 1; -} - -static void sigchld(int sig) { (void)sig; @@ -493,8 +486,6 @@ usage: } } - signal(SIGINT, sigint); - rc = 0; while (!quit) { cmsg = (struct cn_msg *)(buff + sizeof (struct nlmsghdr)); |