mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-30 10:38:37 +00:00
05597d193f
PR: ports/72615 Submitted by: Kuang-che Wu <kcwu@csie.org> (maintainer)
12 lines
316 B
C
12 lines
316 B
C
--- iiimsf/src/watchdog.c.orig Sat Dec 6 02:47:06 2003
|
|
+++ iiimsf/src/watchdog.c Sat Dec 6 02:47:34 2003
|
|
@@ -324,6 +324,8 @@
|
|
if ((pid_t)(-1) == pgrp)
|
|
fprintf (stderr,"cannot set session id");
|
|
|
|
+#elif defined(__FreeBSD__)
|
|
+ setsid();
|
|
#else /* !SunOS */
|
|
pgrp = setpgrp();
|
|
#endif /* !SunOS */
|