diff options
Diffstat (limited to 'x11/electricsheep/files/patch-electricsheep.c')
-rw-r--r-- | x11/electricsheep/files/patch-electricsheep.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11/electricsheep/files/patch-electricsheep.c b/x11/electricsheep/files/patch-electricsheep.c new file mode 100644 index 000000000000..e4f21a9b0085 --- /dev/null +++ b/x11/electricsheep/files/patch-electricsheep.c @@ -0,0 +1,12 @@ +$FreeBSD$ +--- electricsheep.c.orig Tue Jul 3 14:55:00 2001 ++++ electricsheep.c Tue Feb 12 12:58:42 2002 +@@ -1223,7 +1223,7 @@ + + /* create our own group so all workers/children may be killed together + without hassle */ +- if (-1 == setpgrp()) ++ if (-1 == setpgrp(getpid(), getpid())) + perror("setpgrp"); + signal(SIGTERM, handle_sig_term); + signal(SIGINT, handle_sig_term); |