Upstream switched to GitHub Cryptcab support now require WolfSSL instead of OpenSSL PR: 264824
12 lines
307 B
C
12 lines
307 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() == -1) {
|
|
+ else if (setpgrp(0,getpid()) == -1) {
|
|
fprintf(stderr,"Err: cannot create pgrp\n");
|
|
perror("setpgrp");
|
|
exit(1);
|