summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--qmail-start.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/qmail-start.c b/qmail-start.c
index 37423b0..24367fc 100644
--- a/qmail-start.c
+++ b/qmail-start.c
@@ -71,6 +71,8 @@ char **argv;
if (pipe(pi5) == -1) die();
if (pipe(pi6) == -1) die();
+ setpgrp();
+
switch(fork()) {
case -1: die();
case 0: