diff options
Diffstat (limited to 'udev')
-rw-r--r-- | udev/udevadm-settle.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/udev/udevadm-settle.c b/udev/udevadm-settle.c index 3b26f10d50..52d9c0b244 100644 --- a/udev/udevadm-settle.c +++ b/udev/udevadm-settle.c @@ -167,6 +167,7 @@ int udevadm_settle(struct udev *udev, int argc, char *argv[]) sigprocmask(SIG_BLOCK, &mask, &oldmask); if (udev_ctrl_send_settle(uctrl) > 0) sigsuspend(&oldmask); + sigprocmask(SIG_SETMASK, &oldmask, NULL); udev_ctrl_unref(uctrl); } } |