diff options
author | ache <ache@FreeBSD.org> | 1997-03-08 12:15:58 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1997-03-08 12:15:58 +0000 |
commit | 61ad3a8aa45432ff52ebb990a881de6cdaa49c1f (patch) | |
tree | 94a4efb2a5d5be6e86980e07e6203def982dc1e7 /usr.sbin | |
parent | 92533e08e916bacb98b69e0272d2aab8ed2deffd (diff) | |
download | FreeBSD-src-61ad3a8aa45432ff52ebb990a881de6cdaa49c1f.zip FreeBSD-src-61ad3a8aa45432ff52ebb990a881de6cdaa49c1f.tar.gz |
Unpend all signals before execv, it not makes any sense to pend them here
Should go into 2.2
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/chat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c index ccc7f6a..5835de8 100644 --- a/usr.sbin/ppp/chat.c +++ b/usr.sbin/ppp/chat.c @@ -18,7 +18,7 @@ * Columbus, OH 43221 * (614)451-1883 * - * $Id: chat.c,v 1.17 1997/02/25 14:04:55 brian Exp $ + * $Id: chat.c,v 1.18 1997/03/08 10:04:11 ache Exp $ * * TODO: * o Support more UUCP compatible control sequences. @@ -407,7 +407,7 @@ char *command, *out; signal(SIGINT, SIG_DFL); signal(SIGQUIT, SIG_DFL); signal(SIGTERM, SIG_DFL); - pending_signal(SIGHUP, SIG_DFL); + signal(SIGHUP, SIG_DFL); close(fids[0]); dup2(fids[1], 1); close(fids[1]); |