summaryrefslogtreecommitdiffstats
path: root/polyp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'polyp/main.c')
-rw-r--r--polyp/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/polyp/main.c b/polyp/main.c
index 2a45ad37..0e55528d 100644
--- a/polyp/main.c
+++ b/polyp/main.c
@@ -188,7 +188,7 @@ int main(int argc, char *argv[]) {
pa_log_set_target(PA_LOG_SYSLOG, NULL);
setsid();
- setpgrp();
+ setpgid(0,0);
close(0);
close(1);