use SIG_DFL and not SIG_IGN for SIGCHLD.

from "Todd C. Miller" <Todd.Miller@courtesan.com>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10810 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2002-01-23 01:49:34 +00:00
parent e262f873e5
commit 8249a5ade0

View File

@@ -281,7 +281,7 @@ int krb5_dfs_pag(context, flag, principal, luser)
/* Make sure that telnetd.c's SIGCHLD action don't happen right now... */
memset((char *)&newsig, 0, sizeof(newsig));
newsig.sa_handler = SIG_IGN;
newsig.sa_handler = SIG_DFL;
sigaction(SIGCHLD, &newsig, &oldsig);
pid = fork();