uloop: fix signal unblocking
Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
b06cd8c58e
commit
004be15be4
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ uloop_setup_signalfd(bool add)
|
|||
|
||||
if (!add) {
|
||||
uloop_fd_delete(&sfd);
|
||||
sigprocmask(SIG_BLOCK, &prev_mask, NULL);
|
||||
sigprocmask(SIG_SETMASK, &prev_mask, NULL);
|
||||
} else {
|
||||
sigaddset(&mask, SIGQUIT);
|
||||
sigaddset(&mask, SIGINT);
|
||||
|
|
Loading…
Reference in a new issue