summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/ciptool.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ciptool.c b/tools/ciptool.c
index 3f4b113f..99add635 100644
--- a/tools/ciptool.c
+++ b/tools/ciptool.c
@@ -382,6 +382,11 @@ static void cmd_loopback(int ctl, bdaddr_t *bdaddr, int argc, char **argv)
sigaction(SIGHUP, &sa, NULL);
sigfillset(&sigs);
+ sigdelset(&sigs, SIGCHLD);
+ sigdelset(&sigs, SIGPIPE);
+ sigdelset(&sigs, SIGTERM);
+ sigdelset(&sigs, SIGINT);
+ sigdelset(&sigs, SIGHUP);
p.fd = sk;
p.events = POLLERR | POLLHUP;