diff options
-rw-r--r-- | libudev/libudev-util-private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libudev/libudev-util-private.c b/libudev/libudev-util-private.c index e0670dbae5..585dfc6a41 100644 --- a/libudev/libudev-util-private.c +++ b/libudev/libudev-util-private.c @@ -337,7 +337,7 @@ int util_run_program(struct udev *udev, const char *command, char **envp, } if (sigmask) - sigprocmask(SIG_BLOCK, sigmask, NULL); + sigprocmask(SIG_SETMASK, sigmask, NULL); execve(argv[0], argv, envp); if (errno == ENOENT || errno == ENOTDIR) { |