- fix build - change WWW to github - pet portlint PR: 229525 Reported by: O. Hartmann <ohartmann@walstatt.org> Submitted by: Walter Schwarzenfeld <w.schwarzenfeld@utanet.at>
12 lines
287 B
C
12 lines
287 B
C
--- src/dpipe.c.orig 2011-11-23 16:41:18 UTC
|
|
+++ src/dpipe.c
|
|
@@ -201,7 +201,7 @@ int main(int argc, char *argv[])
|
|
|
|
if (daemonize != 0)
|
|
daemon(0,0);
|
|
- else if (setpgrp() != 0) {
|
|
+ else if (setpgrp(0,getpid()) != 0) {
|
|
fprintf(stderr,"Err: cannot create pgrp\n");
|
|
exit(1);
|
|
}
|