ports/net/maradns/patches/patch-tcp_zoneserver_c

12 lines
418 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
--- tcp/zoneserver.c.orig Mon Aug 18 17:55:03 2008
+++ tcp/zoneserver.c Mon Aug 18 17:55:17 2008
@@ -1014,7 +1014,7 @@ int main(int argc, char **argv) {
js_string *synth_soa_origin;
/* Kill children processes when we are signaled */
- if(setpgrp()) {
+ if(setpgrp(0,0)) {
printf(strerror(errno)); /* harderror() would kill the group which may not be correct yet */
return 3;
}