leave SIGCHLD alone
authorSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 7 Aug 1983 02:11:30 +0000 (18:11 -0800)
committerSam Leffler <sam@ucbvax.Berkeley.EDU>
Sun, 7 Aug 1983 02:11:30 +0000 (18:11 -0800)
SCCS-vsn: libexec/telnetd/telnetd.c 4.26

usr/src/libexec/telnetd/telnetd.c

index 1698d4c..943e5bf 100644 (file)
@@ -1,5 +1,5 @@
 #ifndef lint
 #ifndef lint
-static char sccsid[] = "@(#)telnetd.c  4.25 (Berkeley) 83/07/06";
+static char sccsid[] = "@(#)telnetd.c  4.26 (Berkeley) 83/08/06";
 #endif
 
 /*
 #endif
 
 /*
@@ -121,7 +121,7 @@ again:
                if ((pid = fork()) < 0)
                        printf("Out of processes\n");
                else if (pid == 0) {
                if ((pid = fork()) < 0)
                        printf("Out of processes\n");
                else if (pid == 0) {
-                       signal(SIGCHLD, SIG_IGN);
+                       signal(SIGCHLD, SIG_DFL);
                        doit(s2, &from);
                }
                close(s2);
                        doit(s2, &from);
                }
                close(s2);