diff options
Diffstat (limited to 'src/supervision/s6-supervise.c')
-rw-r--r-- | src/supervision/s6-supervise.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/supervision/s6-supervise.c b/src/supervision/s6-supervise.c index ce74cb4..8bb55c8 100644 --- a/src/supervision/s6-supervise.c +++ b/src/supervision/s6-supervise.c @@ -207,7 +207,7 @@ static int maybesetsid (void) { if (r == 8 && buf[7] == '\n') buf[--r] = 0 ; if (r == 7 && !strncasecmp(buf, "setpgrp", 7)) - setpgrp() ; + setpgid(0, 0) ; } return 1 ; } |