summaryrefslogtreecommitdiffstats
path: root/polyp/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-09-23 15:57:15 +0000
committerLennart Poettering <lennart@poettering.net>2004-09-23 15:57:15 +0000
commit9e3890abb4c8427d69b0be751d516b4c1ff6118d (patch)
treea7b63433861c83880874c465479d4149bd0dc65f /polyp/main.c
parent03ee5e2b445becf823dc4dd3db1599849e8c6c06 (diff)
OSX protability patches from Conrad Parker
git-svn-id: file:///home/lennart/svn/public/pulseaudio/trunk@234 fefdeb5f-60dc-0310-8127-8f9354f1896f
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);