ignore hangup signal

This commit is contained in:
rsc 2006-01-19 00:05:56 +00:00
parent 5bd21066c5
commit 89de2e575e

View file

@ -130,10 +130,8 @@ hangupnote(void *a, char *msg)
{
if(getpid() != mainpid)
noted(NDFLT);
if(strcmp(msg, "hangup") == 0 && rcpid != 0){
postnote(PNGROUP, rcpid, "hangup");
noted(NDFLT);
}
if(strcmp(msg, "hangup") == 0)
noted(NCONT);
if(strstr(msg, "child")){
char buf[128];
int n;