summaryrefslogtreecommitdiff
path: root/src/shared/pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared/pty.c')
-rw-r--r--src/shared/pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/pty.c b/src/shared/pty.c
index 119d66e9a2..a87b3ce6f0 100644
--- a/src/shared/pty.c
+++ b/src/shared/pty.c
@@ -239,7 +239,7 @@ int pty_setup_child(Pty *pty) {
assert_return(pty_is_child(pty), -EINVAL);
assert_return(pty_is_open(pty), -EALREADY);
- r = sigprocmask_many(SIG_SETMASK, -1);
+ r = reset_signal_mask();
if (r < 0)
return r;