diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2006-08-16 11:44:52 +0000 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2006-08-16 11:44:52 +0000 | 
| commit | 73b9315e56f5f635eaf82a08271e8f462b731972 (patch) | |
| tree | d6c90b9cb73d6e3bf57adf535b1995115fcba1d4 /tools/ciptool.c | |
| parent | a1bc48d15a5d6e78efe744eb7b27b6421cb7222f (diff) | |
Don't forget to unblock signals for ppoll()
Diffstat (limited to 'tools/ciptool.c')
| -rw-r--r-- | tools/ciptool.c | 5 | 
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; | 
