aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/exec_always.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands/exec_always.c')
-rw-r--r--sway/commands/exec_always.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c
index e18e2c22..fce337d5 100644
--- a/sway/commands/exec_always.c
+++ b/sway/commands/exec_always.c
@@ -57,6 +57,7 @@ struct cmd_results *cmd_exec_process(int argc, char **argv) {
57 sigset_t set; 57 sigset_t set;
58 sigemptyset(&set); 58 sigemptyset(&set);
59 sigprocmask(SIG_SETMASK, &set, NULL); 59 sigprocmask(SIG_SETMASK, &set, NULL);
60 signal(SIGPIPE, SIG_DFL);
60 close(fd[0]); 61 close(fd[0]);
61 if ((child = fork()) == 0) { 62 if ((child = fork()) == 0) {
62 close(fd[1]); 63 close(fd[1]);