summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsheldonh <sheldonh@FreeBSD.org>1999-07-21 12:19:24 +0000
committersheldonh <sheldonh@FreeBSD.org>1999-07-21 12:19:24 +0000
commitc292b216c3ddfc3e30f5fa42a68ae0f9b6972814 (patch)
tree9d54569cd9f776e7199a6b7e67badb5b56dd54c5
parent5fa702dfc6cba07ce897195a7386bd29338e0604 (diff)
downloadFreeBSD-src-c292b216c3ddfc3e30f5fa42a68ae0f9b6972814.zip
FreeBSD-src-c292b216c3ddfc3e30f5fa42a68ae0f9b6972814.tar.gz
Fix horribly broken comment. The submitter of the associated code sent
me the right comment and I bastardized it. :-(
-rw-r--r--usr.sbin/inetd/inetd.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/usr.sbin/inetd/inetd.c b/usr.sbin/inetd/inetd.c
index 288b587..07ae88c 100644
--- a/usr.sbin/inetd/inetd.c
+++ b/usr.sbin/inetd/inetd.c
@@ -42,7 +42,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)from: inetd.c 8.4 (Berkeley) 4/13/94";
#endif
static const char rcsid[] =
- "$Id: inetd.c,v 1.59 1999/07/09 11:46:45 sheldonh Exp $";
+ "$Id: inetd.c,v 1.61 1999/07/15 17:01:43 green Exp $";
#endif /* not lint */
/*
@@ -574,8 +574,9 @@ main(argc, argv, envp)
(void) sigblock(SIGBLOCK);
pid = 0;
/*
- * Fork for any service except a non-forking builtin,
- * which might twist (hosts_options(5)).
+ * Fork for all external services, builtins which need to
+ * fork and anything we're wrapping (as wrapping might
+ * block or use hosts_options(5) twist).
*/
dofork = !sep->se_bi || sep->se_bi->bi_fork || ISWRAP(sep);
if (dofork) {
OpenPOWER on IntegriCloud