summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--kitd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kitd.c b/kitd.c
index d3dbe3b..2c8ceee 100644
--- a/kitd.c
+++ b/kitd.c
@@ -185,6 +185,7 @@ int main(int argc, char *argv[]) {
 				setpgid(0, 0);
 				dup2(stdoutRW[1], STDOUT_FILENO);
 				dup2(stderrRW[1], STDERR_FILENO);
+				sigprocmask(SIG_SETMASK, &unmask, NULL);
 				execvp(argv[0], (char *const *)argv);
 				err(127, "%s", argv[0]);
 			}